233 Subj : Re: Separating an RGB Value into Separate Colours To : borland.public.cpp.borlandcpp From : Shandy Bob Date : Wed May 05 2004 12:48 am Michael wrote: > Hi, > > I am trying to separate an RGB value into its separate red, green and blue > integer values. Im not sure how to do this is Borland C++ Builder though, > can anyone help? > > > > Thanks in advance, > > Mike > > Hi Mike, Try GetRValue(rgbColor), GetBValue(rgbColor), GetGValue(rgbColor) Each returns 0-255 for color intensity. Cheers Shandy Bob . 0