Shades of Midnight Blue #0C186C
Tints of Midnight Blue #0C186C
RGB
CMYK
RGB Variations
Color information
#0C186C (or 0x0C186C) is known color: Midnight Blue. HEX triplet: 0C, 18 and 6C. RGB value is (12,24,108). Sum of RGB (Red+Green+Blue) = 12+24+108=144 (19% of max value = 765). Red value is 12 (5.08% from 255 or 8.33% from 144); Green value is 24 (9.77% from 255 or 16.67% from 144); Blue value is 108 (42.58% from 255 or 75% from 144); Max value from RGB is 108 - color contains mainly: blue. Hex color #0C186C is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C186C is #F3E793. Grayscale: #1D1D1D. Windows color (decimal): -15984532 or 7084044. OLE color: 7084044.
HSL color Cylindrical-coordinate representation of color #0C186C: hue angle of 232.5º degrees, saturation: 0.8, lightness: 0.24%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.89%. Process color model (Four color, CMYK) of #0C186C is Cyan = 0.89, Magento = 0.78, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 12 | 24 | 108 | - |
| CMYK | 0.89 | 0.78 | 0 | 0.58 |
| HSL | 232.5º | 0.8% | 0.24% | - |
| HSV(B) | 232.5º | 0.89% | 0.42% | - |
| XYZ | 3.19 | 1.81 | 14.37 | - |
| YUV | 29.99 | 172.02 | 115.17 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 24 | 108 | 0.89 | 0.78 | 0 | 0.58 | 232.5 | 0.8 | 0.24 |
| Hex | C | 18 | 6C | 59 | 4E | 0 | 3A | E8 | 50 | 18 |
| Octal | 14 | 30 | 154 | 131 | 116 | 0 | 72 | 350 | 120 | 30 |
| Binary | 1100 | 11000 | 1101100 | 1011001 | 1001110 | 0 | 111010 | 11101000 | 1010000 | 11000 |
Color Harmonies of #0C186C
Complementary color
Monochromatic Colors of #0C186C
Black with #0C186C
Text Example
Text Example
White with #0C186C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C186C; }
p { color: rgb(12,24,108); }
H1.HeaderClassName
{
color: #0C186C;
}
.AnyTagClassName
{
color: #0C186C;
}
</style>
background-color css
<style>
a { background-color: #0C186C; }
a { background-color: rgb(12,24,108); }
div.DivClassName
{
background-color: #0C186C;
}
.BgClassName
{
background-color: #0C186C;
}
</style>
border-color css
<style>
span { border-color: #0C186C; }
span { border-color: rgb(12,24,108); }
td.TdClassName
{
border-color: #0C186C;
}
.TagClassName
{
border-color: #0C186C;
}
</style>