Jump to content

Recommended Posts

Posted

I think this has been answered, but I am not allowed to SEARCH for info on color so...

When I look at an RGB value in most programs say something like Visual Color Picker, I work with Hex values of

RR GG BB (RGB!)

When I use

$oExcel.ActiveWorkbook.Sheets(1).Range("E" & $j + 1 & ":E" & $j + 1) .Interior.Color = 0x0000FF

I get

BB GG RR (BGR?)

When I use

$nColor = _ColorSetRGB( $aColor )

I get

RR BB GG (RBG?)

Why the variations?

(The last is actually from the help topic for _ColorSetRGB)

Everseeker

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...