Shades of Cocoa Brown #402A08
Tints of Cocoa Brown #402A08
RGB
CMYK
RGB Variations
Color information
#402A08 (or 0x402A08) is known color: Cocoa Brown. HEX triplet: 40, 2A and 08. RGB value is (64,42,8). Sum of RGB (Red+Green+Blue) = 64+42+8=114 (15% of max value = 765). Red value is 64 (25.39% from 255 or 56.14% from 114); Green value is 42 (16.80% from 255 or 36.84% from 114); Blue value is 8 (3.52% from 255 or 7.02% from 114); Max value from RGB is 64 - color contains mainly: red. Hex color #402A08 is not a web safe color. Web safe color analog (approx): #333300. Inversed color of #402A08 is #BFD5F7. Grayscale: #2C2C2C. Windows color (decimal): -12572152 or 535104. OLE color: 535104.
HSL color Cylindrical-coordinate representation of color #402A08: hue angle of 36.43º degrees, saturation: 0.78, lightness: 0.14%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.88%. Process color model (Four color, CMYK) of #402A08 is Cyan = 0, Magento = 0.34, Yellow = 0.87 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 64 | 42 | 8 | - |
| CMYK | 0 | 0.34 | 0.87 | 0.75 |
| HSL | 36.43º | 0.78% | 0.14% | - |
| HSV(B) | 36.43º | 0.88% | 0.25% | - |
| XYZ | 2.99 | 2.76 | 0.61 | - |
| YUV | 44.7 | 107.29 | 141.76 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 64 | 42 | 8 | 0 | 0.34 | 0.87 | 0.75 | 36.43 | 0.78 | 0.14 |
| Hex | 40 | 2A | 8 | 0 | 22 | 57 | 4B | 24 | 4E | E |
| Octal | 100 | 52 | 10 | 0 | 42 | 127 | 113 | 44 | 116 | 16 |
| Binary | 1000000 | 101010 | 1000 | 0 | 100010 | 1010111 | 1001011 | 100100 | 1001110 | 1110 |
Color Harmonies of #402A08
Complementary color
Monochromatic Colors of #402A08
Black with #402A08
Text Example
Text Example
White with #402A08
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #402A08; }
p { color: rgb(64,42,8); }
H1.HeaderClassName
{
color: #402A08;
}
.AnyTagClassName
{
color: #402A08;
}
</style>
background-color css
<style>
a { background-color: #402A08; }
a { background-color: rgb(64,42,8); }
div.DivClassName
{
background-color: #402A08;
}
.BgClassName
{
background-color: #402A08;
}
</style>
border-color css
<style>
span { border-color: #402A08; }
span { border-color: rgb(64,42,8); }
td.TdClassName
{
border-color: #402A08;
}
.TagClassName
{
border-color: #402A08;
}
</style>