Let's make 'em Garish

Post your Gambas programming questions here.
Post Reply
User avatar
Cedron
Posts: 156
Joined: Thursday 21st February 2019 5:02pm
Location: The Mitten State
Contact:

Let's make 'em Garish

Post by Cedron »

ColorTable.htm.zip
System Color Table
(9.23 KiB) Downloaded 367 times
Okay, let's not.

But, hey, if you want to, you can.

Attached to this post you should find a simple HTML document which is a display of all the standard system colors (as defined on my system: Linux Mint --shout out, it rocks) arranged in a table. The columns are the dominant color, and the colors are arranged from Garish to Gray using a secret recipe. Hence the name "ColorTable.htm"

The background of each display cell is set to the color values shown in the cell. Yes, the curtains match the carpet. The bottom value in each cell is the hex representation. You can copy this and paste it into the hex field of the [Free] tab in the "Select a Color" color selector found in the color properties in the IDE.

The top row is the system names which can be used in other places.

I hope you all find this useful.

Ced
.... and carry a big stick!
shordi
Posts: 8
Joined: Thursday 7th March 2019 6:04pm

Re: Let's make 'em Garish

Post by shordi »

Thanks Cedron. Information like that is allways useful.
User avatar
Cedron
Posts: 156
Joined: Thursday 21st February 2019 5:02pm
Location: The Mitten State
Contact:

Re: Let's make 'em Garish

Post by Cedron »

You're welcome shordi,

I actually made it for the system color names. It doesn't seem Gambas doesn't let you input system names, but no big deal, the hex codes work just as easily, if not more so,

Colonel Sanders helped me with the sort recipe. ;-)

Ced

Here is the classification scheme for how the colors are placed in the columns:

Code: Select all

R > B > G
R > B = G     Red
R > G > B
R = G > B     Yellow

G > R > B
G > R = B     Green
G > B > R
G = B > R     Cyan

B > G > R
B > G = R     Green
B > R > G
B = R > G     Cyan

R = G = B     B/W
.... and carry a big stick!
User avatar
Quincunxian
Posts: 171
Joined: Sunday 25th June 2017 12:14am
Location: Western Australia

Re: Let's make 'em Garish

Post by Quincunxian »

Nice,
I will actually have a use for that in a future project.
Have a rouge like game that has an automated creature generator so colour will be a nice addition.

A good on-line reference for colour is https://www.w3schools.com/colors/colors_picker.asp
When I do any web stuff, this is what I tend to use.

As an aside....., for newbies in html, css, sql ect, w3schools is a good 'understand the basics' site.
It has a 'try it' function similar to the gambas playground for the various components.
Cheers - Quin.
I code therefore I am
User avatar
Cedron
Posts: 156
Joined: Thursday 21st February 2019 5:02pm
Location: The Mitten State
Contact:

Re: Let's make 'em Garish

Post by Cedron »

Here is another web site dedicated to colors:
https://encycolorpedia.com
Although it is one of those sites that makes my CPU run hard and the cooling fan come on.

Ced
.... and carry a big stick!
Post Reply