Welcome, Guest
Please Login or Register.    Lost Password?

RGBA Color Codes
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: RGBA Color Codes
#12413
RGBA Color Codes 4 Years, 1 Month ago  
Is there some kind of swatch or graph or similar I can refer to so I can cut out the trial and error when it comes to altering the text color codes in the skin?

Or, is there something that also explains the RGBA color code used in the Rainlendar skins.
keithy397
Same shlt, different day!
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Gender: Male keithy397 keithyparamedic keithy397@hotmail.com keithymedic Location: Anglesey, North Wales, UK. Birthday: 09/29
The administrator has disabled public write access.
Cheers,
Keith
 
#12417
Re: RGBA Color Codes 4 Years, 1 Month ago  
There are probably a million websites which explain the RGB colors (the A is transparency). Here's one of the first hits from Google: www.tayloredmktg.com/rgb/
Rainy
Moderator
Posts: 5920
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#12427
Re: RGBA Color Codes 4 Years, 1 Month ago  
I did do a good search Rainy but things were not adding up. Everywhere I looked the RGB codes were all 3 sets of 3 numbers, eg: 200-200-200. My understanding of the transparency (RGBa) was 0 - 1.0 eg: 200-200-200-0.4

However, Rainlendars colors are depicted thus:

<colors>
<color id="color.holiday" rgba="255,255,0,255" />
<color id="color.important" rgba="255,130,130,255" />
<color id="color.issues" rgba="255,200,200,255" />
<color id="color.misc" rgba="200,200,255,255" />
<color id="color.personal" rgba="255,200,255,255" />
<color id="color.status" rgba="0,255,255,255" />
<color id="color.edit.text" rgba="100,200,250" hue="%Color%" />
<color id="color.edit.info" rgba="35,95,155" hue="%Color%" />
<color id="color.edit.bg" rgba="20,40,60" hue="%Color%" />
</colors>


Am I missing something, could you explain please?
keithy397
Same shlt, different day!
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Gender: Male keithy397 keithyparamedic keithy397@hotmail.com keithymedic Location: Anglesey, North Wales, UK. Birthday: 09/29
The administrator has disabled public write access.
Cheers,
Keith
 
#12432
Re: RGBA Color Codes 4 Years, 1 Month ago  
The A (alpha) is a value from 0 (fully transparent) to 255 (opaque).
Rainy
Moderator
Posts: 5920
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#12438
Re: RGBA Color Codes 4 Years, 1 Month ago  
I must have misread the Alpha part but I'm still a little confused.

If the code is depicted thus:
R......G......B.....A
100-100-100-50

Am I correct in thinking the last (or fourth) set of digits is the transparency/opacity code and the first 3 (RGB) the color code?

I ask because I tested the colors in Rainlendar with just 3 sets of digits and it worked ok.
keithy397
Same shlt, different day!
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Gender: Male keithy397 keithyparamedic keithy397@hotmail.com keithymedic Location: Anglesey, North Wales, UK. Birthday: 09/29
The administrator has disabled public write access.
Cheers,
Keith
 
#12445
Re:RGBA Color Codes 4 Years, 1 Month ago  
255,255,255,255
Red,Green,Blue,Alpha

* you must put a , not a - between numbers.

Ex: Green is : 0,255,30,255

Remember the last numbers are for the transparency...255 being opaque.

Sheers
Archange
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Birthday: 01/31
The administrator has disabled public write access.
 
Go to topPage: 12
get the latest posts directly to your desktop