color details

Color Details
#000040 Color Hex

#000040 color RGB value is (0, 0, 4).
#000040 hex color red value is 0, green value is 0, and blue value is 4.
Cylindrical-coordinate representations (HSL) of color #000040 hue: 240, saturation: 1 and lightness: 0.01.

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

Color Spaces
Color spaces of #000040Value
RGB0, 0, 64
HSL0.67, 1, 0.13
HSV240°, 100°, 25°
XYZ0.93, 0.37, 4.87
Base Numbers
Base Red Green Blue
Binary 0 0 1000000
Octal 0 0 100
Decimal 0 0 64
Hex 0 0 40

RGB Percentages for Color #000040

100%

CMYK Percentages of the Color #000040

100%
100%
74.9%
CSS Codes for Color #000040
.mybgColor {background-color: #000040;}
.myforeColor {color: #000040;}
.myborderColor {border:3px solid #000040;}
Text Font Color #000040

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

This sample text is styled with the font color #000040. 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 #000040

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

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

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

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

<p style="text-shadow: 4px 4px 2px rgba(0, 0, 64, 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 #000040;">Text here</p>

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

Shadow Div Box

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

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

Scroll to Top