Shades of Midnight Blue #0C187E
Tints of Midnight Blue #0C187E
RGB
CMYK
RGB Variations
Color information
#0C187E (or 0x0C187E) is known color: Midnight Blue. HEX triplet: 0C, 18 and 7E. RGB value is (12,24,126). Sum of RGB (Red+Green+Blue) = 12+24+126=162 (21% of max value = 765). Red value is 12 (5.08% from 255 or 7.41% from 162); Green value is 24 (9.77% from 255 or 14.81% from 162); Blue value is 126 (49.61% from 255 or 77.78% from 162); Max value from RGB is 126 - color contains mainly: blue. Hex color #0C187E is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C187E is #F3E781. Grayscale: #1F1F1F. Windows color (decimal): -15984514 or 8263692. OLE color: 8263692.
HSL color Cylindrical-coordinate representation of color #0C187E: hue angle of 233.68º degrees, saturation: 0.83, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.9%. Process color model (Four color, CMYK) of #0C187E is Cyan = 0.90, Magento = 0.81, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 12 | 24 | 126 | - |
| CMYK | 0.90 | 0.81 | 0 | 0.51 |
| HSL | 233.68º | 0.83% | 0.27% | - |
| HSV(B) | 233.68º | 0.9% | 0.49% | - |
| XYZ | 4.24 | 2.24 | 19.95 | - |
| YUV | 32.04 | 181.02 | 113.71 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 24 | 126 | 0.90 | 0.81 | 0 | 0.51 | 233.68 | 0.83 | 0.27 |
| Hex | C | 18 | 7E | 5A | 51 | 0 | 33 | EA | 53 | 1B |
| Octal | 14 | 30 | 176 | 132 | 121 | 0 | 63 | 352 | 123 | 33 |
| Binary | 1100 | 11000 | 1111110 | 1011010 | 1010001 | 0 | 110011 | 11101010 | 1010011 | 11011 |
Color Harmonies of #0C187E
Complementary color
Monochromatic Colors of #0C187E
Black with #0C187E
Text Example
Text Example
White with #0C187E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C187E; }
p { color: rgb(12,24,126); }
H1.HeaderClassName
{
color: #0C187E;
}
.AnyTagClassName
{
color: #0C187E;
}
</style>
background-color css
<style>
a { background-color: #0C187E; }
a { background-color: rgb(12,24,126); }
div.DivClassName
{
background-color: #0C187E;
}
.BgClassName
{
background-color: #0C187E;
}
</style>
border-color css
<style>
span { border-color: #0C187E; }
span { border-color: rgb(12,24,126); }
td.TdClassName
{
border-color: #0C187E;
}
.TagClassName
{
border-color: #0C187E;
}
</style>