[fpc-devel] Correlation between TFPColor and RGB values (possible inconsistencies)

Graeme Geldenhuys graemeg.lists at gmail.com
Wed Feb 17 14:57:07 CET 2010

JoshyFun wrote:
> To base change colors you must change from high resolution to lower
> resolution, not the inverse, you should not define colors in 48 bits
> based in their values of 24 bits, but the inverse.

Yes, that is always ideal, but I can only work with what I know and what I
can find on the internet. If you have a link on the internet that defines
color values in 48bit, then please do post it here. I have search for the
last 30 minutes and haven't found a single link.

All colors I could find are defined as 24-bit RGB values (certified values
and color names created by companies like Microsoft, HP, Adobe, W3C, Exif
etc.), so that is what I based my calculations on. Using ratios to do the
upscaling calculation seems to be the most common conversion method too -
as per the links I found on the internet (wikipedia and many websites like
Adobe or other photographic websites).

But yes I understand the most accurate would be to only downscale - but I
can't find color name definitions in 48-bit color.

> That's why things like Pantone exists as they provide a clear
> definition of each color.

I'll read some more on Pantone - I don't really know much about it. :)

  - Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

More information about the fpc-devel mailing list