Using RGB Colors within code

B

Blue

Hello all,

I am trying to use the below RGB function that I found from Microsoft:

Function RevRGB(red, green, blue)
RevRGB= CLng(blue + (green * 256) + (red * 65536))
End Function

I was wondering if there is a way to include the Sat, Hue, Lum numbers
within the function above so that I can get the exact color that I want to
use. Any help on this is appreciated

Thank you

Billy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top