Let's make 'em Garish
Posted
#1
(In Topic #235)
Regular

System Color Table
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!
Posted
Trainee
Posted
Regular

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
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!
Posted
Expert

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
I code therefore I am
Posted
Regular

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!
1 guest and 0 members have just viewed this.


