Shades of Midnight Blue #0C1A6C
Tints of Midnight Blue #0C1A6C
RGB
CMYK
RGB Variations
Color information
#0C1A6C (or 0x0C1A6C) is known color: Midnight Blue. HEX triplet: 0C, 1A and 6C. RGB value is (12,26,108). Sum of RGB (Red+Green+Blue) = 12+26+108=146 (19% of max value = 765). Red value is 12 (5.08% from 255 or 8.22% from 146); Green value is 26 (10.55% from 255 or 17.81% from 146); Blue value is 108 (42.58% from 255 or 73.97% from 146); Max value from RGB is 108 - color contains mainly: blue. Hex color #0C1A6C is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #0C1A6C is #F3E593. Grayscale: #1E1E1E. Windows color (decimal): -15984020 or 7084556. OLE color: 7084556.
HSL color Cylindrical-coordinate representation of color #0C1A6C: hue angle of 231.25º 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 #0C1A6C is Cyan = 0.89, Magento = 0.76, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 12 | 26 | 108 | - |
| CMYK | 0.89 | 0.76 | 0 | 0.58 |
| HSL | 231.25º | 0.8% | 0.24% | - |
| HSV(B) | 231.25º | 0.89% | 0.42% | - |
| XYZ | 3.23 | 1.9 | 14.38 | - |
| YUV | 31.16 | 171.36 | 114.33 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 26 | 108 | 0.89 | 0.76 | 0 | 0.58 | 231.25 | 0.8 | 0.24 |
| Hex | C | 1A | 6C | 59 | 4C | 0 | 3A | E7 | 50 | 18 |
| Octal | 14 | 32 | 154 | 131 | 114 | 0 | 72 | 347 | 120 | 30 |
| Binary | 1100 | 11010 | 1101100 | 1011001 | 1001100 | 0 | 111010 | 11100111 | 1010000 | 11000 |
Color Harmonies of #0C1A6C
Complementary color
Monochromatic Colors of #0C1A6C
Black with #0C1A6C
Text Example
Text Example
White with #0C1A6C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C1A6C; }
p { color: rgb(12,26,108); }
H1.HeaderClassName
{
color: #0C1A6C;
}
.AnyTagClassName
{
color: #0C1A6C;
}
</style>
background-color css
<style>
a { background-color: #0C1A6C; }
a { background-color: rgb(12,26,108); }
div.DivClassName
{
background-color: #0C1A6C;
}
.BgClassName
{
background-color: #0C1A6C;
}
</style>
border-color css
<style>
span { border-color: #0C1A6C; }
span { border-color: rgb(12,26,108); }
td.TdClassName
{
border-color: #0C1A6C;
}
.TagClassName
{
border-color: #0C1A6C;
}
</style>