Visual Basic Color Palette

T

toocold

Good morning,

I was wondering if there is a way to customize the color palette i
Visual Basic. I want to lighten some of the default colors to b
applied to my forms but have not figured how to go about this.

Changing the palette in excel - tools - options did not have an effec
on my choices in VB.

Thanks
d
 
T

toocold

I have created a userform and I want to use a custom color for the
background. I want to match it to a company logo which is lighter than
the default colors in the Visual Basica Palette.

Cheers,
dw
 
T

toocold

I think I figured it out. Visual Basic appears to reverse the RGB
codes. If you convert them to BGR, the codes appear to work in visual
basic.

Does anyone know of an online color chart that already does this
conversion?

Cheers,
dw
 
R

RB Smissaert

Never heard of that. More likely you got something the wrong way round in
your code.

RBS
 
T

Tom Ogilvy

I already gave you a link. Apparently you don't want to put in the effort
to look at it.
 
T

toocold

Sorry Tom,

I apologize if it came across that I had not looked at what you had
provided but the link you gave me contained the codes for 56 colors. I
was looking for a more complete color chart. Basically, I was looking
for a quick reference color chart like those provided by visibone which
has 216 colors arranged by hue with the html color codes.

By rearranging the codes I was able to match the background of the
userform to the company logo but I was just curious for future
projects. The shade of color I needed was not provided on the color
palette or on the link that you had given me. I was just asking if
anyone knew of a more comprehensive color chart.

Cheers,
dw
 

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