Shades of Midnight Blue #0C1262
Tints of Midnight Blue #0C1262
RGB
CMYK
RGB Variations
Color information
#0C1262 (or 0x0C1262) is known color: Midnight Blue. HEX triplet: 0C, 12 and 62. RGB value is (12,18,98). Sum of RGB (Red+Green+Blue) = 12+18+98=128 (16% of max value = 765). Red value is 12 (5.08% from 255 or 9.38% from 128); Green value is 18 (7.42% from 255 or 14.06% from 128); Blue value is 98 (38.67% from 255 or 76.56% from 128); Max value from RGB is 98 - color contains mainly: blue. Hex color #0C1262 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C1262 is #F3ED9D. Grayscale: #191919. Windows color (decimal): -15986078 or 6427148. OLE color: 6427148.
HSL color Cylindrical-coordinate representation of color #0C1262: hue angle of 235.81º degrees, saturation: 0.78, lightness: 0.22%. HSV value (or HSB Brightness) of color is 0.38% and HSV saturation: 0.88%. Process color model (Four color, CMYK) of #0C1262 is Cyan = 0.88, Magento = 0.82, Yellow = 0 and Black (K on CMYK) = 0.62.
Color convert
| RGB | 12 | 18 | 98 | - |
| CMYK | 0.88 | 0.82 | 0 | 0.62 |
| HSL | 235.81º | 0.78% | 0.22% | - |
| HSV(B) | 235.81º | 0.88% | 0.38% | - |
| XYZ | 2.57 | 1.39 | 11.69 | - |
| YUV | 25.33 | 169.01 | 118.5 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 18 | 98 | 0.88 | 0.82 | 0 | 0.62 | 235.81 | 0.78 | 0.22 |
| Hex | C | 12 | 62 | 58 | 52 | 0 | 3E | EC | 4E | 16 |
| Octal | 14 | 22 | 142 | 130 | 122 | 0 | 76 | 354 | 116 | 26 |
| Binary | 1100 | 10010 | 1100010 | 1011000 | 1010010 | 0 | 111110 | 11101100 | 1001110 | 10110 |
Color Harmonies of #0C1262
Complementary color
Monochromatic Colors of #0C1262
Black with #0C1262
Text Example
Text Example
White with #0C1262
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C1262; }
p { color: rgb(12,18,98); }
H1.HeaderClassName
{
color: #0C1262;
}
.AnyTagClassName
{
color: #0C1262;
}
</style>
background-color css
<style>
a { background-color: #0C1262; }
a { background-color: rgb(12,18,98); }
div.DivClassName
{
background-color: #0C1262;
}
.BgClassName
{
background-color: #0C1262;
}
</style>
border-color css
<style>
span { border-color: #0C1262; }
span { border-color: rgb(12,18,98); }
td.TdClassName
{
border-color: #0C1262;
}
.TagClassName
{
border-color: #0C1262;
}
</style>