#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 of #000040 | Value |
|---|---|
| RGB | 0, 0, 64 |
| HSL | 0.67, 1, 0.13 |
| HSV | 240°, 100°, 25° |
| XYZ | 0.93, 0.37, 4.87 |
| Base | Red | Green | Blue |
|---|---|---|---|
| Binary | 0 | 0 | 1000000 |
| Octal | 0 | 0 | 100 |
| Decimal | 0 | 0 | 64 |
| Hex | 0 | 0 | 40 |
Shades of #000040
Tints of #000040
.mybgColor {background-color: #000040;}
.myforeColor {color: #000040;}
.myborderColor {border:3px solid #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,
<div style="background-color:#000040">Div content here</div>
<div style="border:3px solid #000040">Div here</div>
.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; }
<p style="text-shadow: 4px 4px 2px rgba(0, 0, 64, 0.8);">Text here</p>
This text has a shadow with RGB values.
<p style="text-shadow: 4px 4px 2px #000040;">Text here</p>
This text has a shadow with hexadecimal (hex) values.
<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>
