color details

Color Details
#040204 Color Hex

#040204 color RGB value is (0, 64, 32).
#040204 hex color red value is 0, green value is 64, and blue value is 32.
Cylindrical-coordinate representations (HSL) of color #040204 hue: 150, saturation: 1 and lightness: 0.13.

The process color (four-color CMYK) of #040204 color hex is 0.00, 0.28, 0.40, 0.03. Web safe color of #040204 is #ff9999. Color #040204 contains mainly RED.

Color Spaces
Color spaces of #040204Value
RGB4, 2, 4
HSL0.83, 0.33, 0.01
HSV300°, 50°, 2°
XYZ0.09, 0.08, 0.12
Base Numbers
Base Red Green Blue
Binary 100 10 100
Octal 4 2 4
Decimal 4 2 4
Hex 4 2 4

RGB Percentages for Color #040204

40%
20%
40%

CMYK Percentages of the Color #040204

50%
98.43%
CSS Codes for Color #040204
.mybgColor {background-color: #040204;}
.myforeColor {color: #040204;}
.myborderColor {border:3px solid #040204;}
Text Font Color #040204

<p style="color:#040204">Text here</p>

This sample text is styled with the font color #040204. It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here,

Background Color #040204

<div style="background-color:#040204">Div content here</div>

The background color of this div is #040204
Border Color #040204

<div style="border:3px solid #040204">Div here</div>

The border color of this div is #040204
Css3 Examples
            .textShadowRgb {
                text-shadow: 4px 4px 2px rgba(4, 2, 4, 0.8);            }
            .textShadowHex {
                text-shadow: 4px 4px 2px #040204;            }
            .divShadow {
                -moz-box-shadow: 1px 1px 3px #040204;
-webkit-box-shadow: 1px 1px 3px #040204;
box-shadow: 1px 1px 3px #040204;            }
            
Text Shadow Using RGB Values

<p style="text-shadow: 4px 4px 2px rgba(4, 2, 4, 0.8);">Text here</p>

This text has a shadow with RGB values.

Text Shadow Using Hex Values

<p style="text-shadow: 4px 4px 2px #040204;">Text here</p>

This text has a shadow with hexadecimal (hex) values.

Shadow Div Box

<div style="-moz-box-shadow: 1px 1px 3px #040204; -webkit-box-shadow: 1px 1px 3px #040204; box-shadow: 1px 1px 3px #040204;">Div content here</div>

This div box has a shadow with a specified color. #040204

Scroll to Top