[SOLVED] System color to TFPColor lazarus / 39-Graphics ---------------------------------------------------------------------- Dibo · 2014-11-13 17:53 Hi, I need to convert system color (like clHighlight, clBtnText etc) into TFPColor. Function TColorToFPColor has comment "does not work on system color" and indeed it doesn't work (I always get black color). Many other color functions has this same comment. How to workaround this? Regards ---------------------------------------------------------------------- circular · 2014-11-13 18:50 You can call ColorToRGB to get the actual color. So something like ColorToFPColor(ColorToRGB(...)) will do. ---------------------------------------------------------------------- Dibo · 2014-11-13 18:56 Ahh thank you circular!