Shades of Cola #402D12
Tints of Cola #402D12
RGB
CMYK
RGB Variations
Color information
#402D12 (or 0x402D12) is known color: Cola. HEX triplet: 40, 2D and 12. RGB value is (64,45,18). Sum of RGB (Red+Green+Blue) = 64+45+18=127 (16% of max value = 765). Red value is 64 (25.39% from 255 or 50.39% from 127); Green value is 45 (17.97% from 255 or 35.43% from 127); Blue value is 18 (7.42% from 255 or 14.17% from 127); Max value from RGB is 64 - color contains mainly: red. Hex color #402D12 is not a web safe color. Web safe color analog (approx): #333300. Inversed color of #402D12 is #BFD2ED. Grayscale: #2F2F2F. Windows color (decimal): -12571374 or 1191232. OLE color: 1191232.
HSL color Cylindrical-coordinate representation of color #402D12: hue angle of 35.22º degrees, saturation: 0.56, lightness: 0.16%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #402D12 is Cyan = 0, Magento = 0.30, Yellow = 0.72 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 64 | 45 | 18 | - |
| CMYK | 0 | 0.30 | 0.72 | 0.75 |
| HSL | 35.22º | 0.56% | 0.16% | - |
| HSV(B) | 35.22º | 0.72% | 0.25% | - |
| XYZ | 3.16 | 3.01 | 0.99 | - |
| YUV | 47.6 | 111.29 | 139.7 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 64 | 45 | 18 | 0 | 0.30 | 0.72 | 0.75 | 35.22 | 0.56 | 0.16 |
| Hex | 40 | 2D | 12 | 0 | 1E | 48 | 4B | 23 | 38 | 10 |
| Octal | 100 | 55 | 22 | 0 | 36 | 110 | 113 | 43 | 70 | 20 |
| Binary | 1000000 | 101101 | 10010 | 0 | 11110 | 1001000 | 1001011 | 100011 | 111000 | 10000 |
Color Harmonies of #402D12
Complementary color
Monochromatic Colors of #402D12
Black with #402D12
Text Example
Text Example
White with #402D12
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #402D12; }
p { color: rgb(64,45,18); }
H1.HeaderClassName
{
color: #402D12;
}
.AnyTagClassName
{
color: #402D12;
}
</style>
background-color css
<style>
a { background-color: #402D12; }
a { background-color: rgb(64,45,18); }
div.DivClassName
{
background-color: #402D12;
}
.BgClassName
{
background-color: #402D12;
}
</style>
border-color css
<style>
span { border-color: #402D12; }
span { border-color: rgb(64,45,18); }
td.TdClassName
{
border-color: #402D12;
}
.TagClassName
{
border-color: #402D12;
}
</style>