Shades of Midnight #0C254A
Tints of Midnight #0C254A
RGB
CMYK
RGB Variations
Color information
#0C254A (or 0x0C254A) is known color: Midnight. HEX triplet: 0C, 25 and 4A. RGB value is (12,37,74). Sum of RGB (Red+Green+Blue) = 12+37+74=123 (16% of max value = 765). Red value is 12 (5.08% from 255 or 9.76% from 123); Green value is 37 (14.84% from 255 or 30.08% from 123); Blue value is 74 (29.30% from 255 or 60.16% from 123); Max value from RGB is 74 - color contains mainly: blue. Hex color #0C254A is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #0C254A is #F3DAB5. Grayscale: #212121. Windows color (decimal): -15981238 or 4859148. OLE color: 4859148.
HSL color Cylindrical-coordinate representation of color #0C254A: hue angle of 215.81º degrees, saturation: 0.72, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.29% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #0C254A is Cyan = 0.84, Magento = 0.50, Yellow = 0 and Black (K on CMYK) = 0.71.
Color convert
| RGB | 12 | 37 | 74 | - |
| CMYK | 0.84 | 0.50 | 0 | 0.71 |
| HSL | 215.81º | 0.72% | 0.17% | - |
| HSV(B) | 215.81º | 0.84% | 0.29% | - |
| XYZ | 2.05 | 1.9 | 6.74 | - |
| YUV | 33.74 | 150.72 | 112.49 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 37 | 74 | 0.84 | 0.50 | 0 | 0.71 | 215.81 | 0.72 | 0.17 |
| Hex | C | 25 | 4A | 54 | 32 | 0 | 47 | D8 | 48 | 11 |
| Octal | 14 | 45 | 112 | 124 | 62 | 0 | 107 | 330 | 110 | 21 |
| Binary | 1100 | 100101 | 1001010 | 1010100 | 110010 | 0 | 1000111 | 11011000 | 1001000 | 10001 |
Color Harmonies of #0C254A
Complementary color
Monochromatic Colors of #0C254A
Black with #0C254A
Text Example
Text Example
White with #0C254A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C254A; }
p { color: rgb(12,37,74); }
H1.HeaderClassName
{
color: #0C254A;
}
.AnyTagClassName
{
color: #0C254A;
}
</style>
background-color css
<style>
a { background-color: #0C254A; }
a { background-color: rgb(12,37,74); }
div.DivClassName
{
background-color: #0C254A;
}
.BgClassName
{
background-color: #0C254A;
}
</style>
border-color css
<style>
span { border-color: #0C254A; }
span { border-color: rgb(12,37,74); }
td.TdClassName
{
border-color: #0C254A;
}
.TagClassName
{
border-color: #0C254A;
}
</style>