Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

long instead of rgb

Status
Not open for further replies.

lyudah

Programmer
Jun 17, 2002
3
US
I am looking for a long which I can use in Modify function to set one of the columns on dw to light yellow. I have a number for yellow color. I need to make it light yellow. Thank you for your help.
 
The formula for combining the colors is:
(65,536 * Blue) + (256 * Green) + Red

Yellow RGB(255,255,0)
Light Yellow RGB(255,255,128) = 8,454,143

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top