[EMAIL PROTECTED] wrote:
>
> Lorenzo, IIUC you need this: (?)
>
> int iR = GetRValue( nColor );
> int iG = GetGValue( nColor );
> int iB = GetBValue( nColor ) ;
>
No.
He needs opposite of it.
May be this is valid:
Function InverseRGB( r,g,b )
Return RGB( 255-r, 255-g, 255-b )
255 or 256 I am not sure.
Regards
Pritpal Bedi
--
View this message in context:
http://www.nabble.com/Convert-a-color-value-to-a-RGB-triplet-tp18876329p18878236.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour