Shades of Cola #402F1C
Tints of Cola #402F1C
RGB
CMYK
RGB Variations
Color information
#402F1C (or 0x402F1C) is known color: Cola. HEX triplet: 40, 2F and 1C. RGB value is (64,47,28). Sum of RGB (Red+Green+Blue) = 64+47+28=139 (18% of max value = 765). Red value is 64 (25.39% from 255 or 46.04% from 139); Green value is 47 (18.75% from 255 or 33.81% from 139); Blue value is 28 (11.33% from 255 or 20.14% from 139); Max value from RGB is 64 - color contains mainly: red. Hex color #402F1C is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #402F1C is #BFD0E3. Grayscale: #323232. Windows color (decimal): -12570852 or 1847104. OLE color: 1847104.
HSL color Cylindrical-coordinate representation of color #402F1C: hue angle of 31.67º degrees, saturation: 0.39, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.56%. Process color model (Four color, CMYK) of #402F1C is Cyan = 0, Magento = 0.27, Yellow = 0.56 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 64 | 47 | 28 | - |
| CMYK | 0 | 0.27 | 0.56 | 0.75 |
| HSL | 31.67º | 0.39% | 0.18% | - |
| HSV(B) | 31.67º | 0.56% | 0.25% | - |
| XYZ | 3.34 | 3.21 | 1.54 | - |
| YUV | 49.92 | 115.63 | 138.04 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 64 | 47 | 28 | 0 | 0.27 | 0.56 | 0.75 | 31.67 | 0.39 | 0.18 |
| Hex | 40 | 2F | 1C | 0 | 1B | 38 | 4B | 20 | 27 | 12 |
| Octal | 100 | 57 | 34 | 0 | 33 | 70 | 113 | 40 | 47 | 22 |
| Binary | 1000000 | 101111 | 11100 | 0 | 11011 | 111000 | 1001011 | 100000 | 100111 | 10010 |
Color Harmonies of #402F1C
Complementary color
Monochromatic Colors of #402F1C
Black with #402F1C
Text Example
Text Example
White with #402F1C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #402F1C; }
p { color: rgb(64,47,28); }
H1.HeaderClassName
{
color: #402F1C;
}
.AnyTagClassName
{
color: #402F1C;
}
</style>
background-color css
<style>
a { background-color: #402F1C; }
a { background-color: rgb(64,47,28); }
div.DivClassName
{
background-color: #402F1C;
}
.BgClassName
{
background-color: #402F1C;
}
</style>
border-color css
<style>
span { border-color: #402F1C; }
span { border-color: rgb(64,47,28); }
td.TdClassName
{
border-color: #402F1C;
}
.TagClassName
{
border-color: #402F1C;
}
</style>