Shades of Midnight Blue #0C156E
Tints of Midnight Blue #0C156E
RGB
CMYK
RGB Variations
Color information
#0C156E (or 0x0C156E) is known color: Midnight Blue. HEX triplet: 0C, 15 and 6E. RGB value is (12,21,110). Sum of RGB (Red+Green+Blue) = 12+21+110=143 (18% of max value = 765). Red value is 12 (5.08% from 255 or 8.39% from 143); Green value is 21 (8.59% from 255 or 14.69% from 143); Blue value is 110 (43.36% from 255 or 76.92% from 143); Max value from RGB is 110 - color contains mainly: blue. Hex color #0C156E is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C156E is #F3EA91. Grayscale: #1C1C1C. Windows color (decimal): -15985298 or 7214348. OLE color: 7214348.
HSL color Cylindrical-coordinate representation of color #0C156E: hue angle of 234.49º degrees, saturation: 0.8, lightness: 0.24%. HSV value (or HSB Brightness) of color is 0.43% and HSV saturation: 0.89%. Process color model (Four color, CMYK) of #0C156E is Cyan = 0.89, Magento = 0.81, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 12 | 21 | 110 | - |
| CMYK | 0.89 | 0.81 | 0 | 0.57 |
| HSL | 234.49º | 0.8% | 0.24% | - |
| HSV(B) | 234.49º | 0.89% | 0.43% | - |
| XYZ | 3.23 | 1.74 | 14.92 | - |
| YUV | 28.46 | 174.02 | 116.26 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 21 | 110 | 0.89 | 0.81 | 0 | 0.57 | 234.49 | 0.8 | 0.24 |
| Hex | C | 15 | 6E | 59 | 51 | 0 | 39 | EA | 50 | 18 |
| Octal | 14 | 25 | 156 | 131 | 121 | 0 | 71 | 352 | 120 | 30 |
| Binary | 1100 | 10101 | 1101110 | 1011001 | 1010001 | 0 | 111001 | 11101010 | 1010000 | 11000 |
Color Harmonies of #0C156E
Complementary color
Monochromatic Colors of #0C156E
Black with #0C156E
Text Example
Text Example
White with #0C156E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C156E; }
p { color: rgb(12,21,110); }
H1.HeaderClassName
{
color: #0C156E;
}
.AnyTagClassName
{
color: #0C156E;
}
</style>
background-color css
<style>
a { background-color: #0C156E; }
a { background-color: rgb(12,21,110); }
div.DivClassName
{
background-color: #0C156E;
}
.BgClassName
{
background-color: #0C156E;
}
</style>
border-color css
<style>
span { border-color: #0C156E; }
span { border-color: rgb(12,21,110); }
td.TdClassName
{
border-color: #0C156E;
}
.TagClassName
{
border-color: #0C156E;
}
</style>