Shades of Dark Blue #040C8C
Tints of Dark Blue #040C8C
RGB
CMYK
RGB Variations
Color information
#040C8C (or 0x040C8C) is known color: Dark Blue. HEX triplet: 04, 0C and 8C. RGB value is (4,12,140). Sum of RGB (Red+Green+Blue) = 4+12+140=156 (20% of max value = 765). Red value is 4 (1.95% from 255 or 2.56% from 156); Green value is 12 (5.08% from 255 or 7.69% from 156); Blue value is 140 (55.08% from 255 or 89.74% from 156); Max value from RGB is 140 - color contains mainly: blue. Hex color #040C8C is not a web safe color. Web safe color analog (approx): #000099. Inversed color of #040C8C is #FBF373. Grayscale: #171717. Windows color (decimal): -16511860 or 9178116. OLE color: 9178116.
HSL color Cylindrical-coordinate representation of color #040C8C: hue angle of 236.47º degrees, saturation: 0.94, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.97%. Process color model (Four color, CMYK) of #040C8C is Cyan = 0.97, Magento = 0.91, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 4 | 12 | 140 | - |
| CMYK | 0.97 | 0.91 | 0 | 0.45 |
| HSL | 236.47º | 0.94% | 0.28% | - |
| HSV(B) | 236.47º | 0.97% | 0.55% | - |
| XYZ | 4.92 | 2.18 | 24.97 | - |
| YUV | 24.2 | 193.35 | 113.59 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 4 | 12 | 140 | 0.97 | 0.91 | 0 | 0.45 | 236.47 | 0.94 | 0.28 |
| Hex | 4 | C | 8C | 61 | 5B | 0 | 2D | EC | 5E | 1C |
| Octal | 4 | 14 | 214 | 141 | 133 | 0 | 55 | 354 | 136 | 34 |
| Binary | 100 | 1100 | 10001100 | 1100001 | 1011011 | 0 | 101101 | 11101100 | 1011110 | 11100 |
Color Harmonies of #040C8C
Complementary color
Monochromatic Colors of #040C8C
Black with #040C8C
Text Example
Text Example
White with #040C8C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #040C8C; }
p { color: rgb(4,12,140); }
H1.HeaderClassName
{
color: #040C8C;
}
.AnyTagClassName
{
color: #040C8C;
}
</style>
background-color css
<style>
a { background-color: #040C8C; }
a { background-color: rgb(4,12,140); }
div.DivClassName
{
background-color: #040C8C;
}
.BgClassName
{
background-color: #040C8C;
}
</style>
border-color css
<style>
span { border-color: #040C8C; }
span { border-color: rgb(4,12,140); }
td.TdClassName
{
border-color: #040C8C;
}
.TagClassName
{
border-color: #040C8C;
}
</style>