Shades of Cocoa Brown #402A04
Tints of Cocoa Brown #402A04
RGB
CMYK
RGB Variations
Color information
#402A04 (or 0x402A04) is known color: Cocoa Brown. HEX triplet: 40, 2A and 04. RGB value is (64,42,4). Sum of RGB (Red+Green+Blue) = 64+42+4=110 (14% of max value = 765). Red value is 64 (25.39% from 255 or 58.18% from 110); Green value is 42 (16.80% from 255 or 38.18% from 110); Blue value is 4 (1.95% from 255 or 3.64% from 110); Max value from RGB is 64 - color contains mainly: red. Hex color #402A04 is not a web safe color. Web safe color analog (approx): #333300. Inversed color of #402A04 is #BFD5FB. Grayscale: #2C2C2C. Windows color (decimal): -12572156 or 272960. OLE color: 272960.
HSL color Cylindrical-coordinate representation of color #402A04: hue angle of 38º degrees, saturation: 0.88, lightness: 0.13%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.94%. Process color model (Four color, CMYK) of #402A04 is Cyan = 0, Magento = 0.34, Yellow = 0.94 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 64 | 42 | 4 | - |
| CMYK | 0 | 0.34 | 0.94 | 0.75 |
| HSL | 38º | 0.88% | 0.13% | - |
| HSV(B) | 38º | 0.94% | 0.25% | - |
| XYZ | 2.96 | 2.75 | 0.49 | - |
| YUV | 44.25 | 105.29 | 142.09 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 64 | 42 | 4 | 0 | 0.34 | 0.94 | 0.75 | 38 | 0.88 | 0.13 |
| Hex | 40 | 2A | 4 | 0 | 22 | 5E | 4B | 26 | 58 | D |
| Octal | 100 | 52 | 4 | 0 | 42 | 136 | 113 | 46 | 130 | 15 |
| Binary | 1000000 | 101010 | 100 | 0 | 100010 | 1011110 | 1001011 | 100110 | 1011000 | 1101 |
Color Harmonies of #402A04
Complementary color
Monochromatic Colors of #402A04
Black with #402A04
Text Example
Text Example
White with #402A04
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #402A04; }
p { color: rgb(64,42,4); }
H1.HeaderClassName
{
color: #402A04;
}
.AnyTagClassName
{
color: #402A04;
}
</style>
background-color css
<style>
a { background-color: #402A04; }
a { background-color: rgb(64,42,4); }
div.DivClassName
{
background-color: #402A04;
}
.BgClassName
{
background-color: #402A04;
}
</style>
border-color css
<style>
span { border-color: #402A04; }
span { border-color: rgb(64,42,4); }
td.TdClassName
{
border-color: #402A04;
}
.TagClassName
{
border-color: #402A04;
}
</style>