Shades of Midnight Blue #0C0252
Tints of Midnight Blue #0C0252
RGB
CMYK
RGB Variations
Color information
#0C0252 (or 0x0C0252) is known color: Midnight Blue. HEX triplet: 0C, 02 and 52. RGB value is (12,2,82). Sum of RGB (Red+Green+Blue) = 12+2+82=96 (12% of max value = 765). Red value is 12 (5.08% from 255 or 12.5% from 96); Green value is 2 (1.17% from 255 or 2.08% from 96); Blue value is 82 (32.42% from 255 or 85.42% from 96); Max value from RGB is 82 - color contains mainly: blue. Hex color #0C0252 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C0252 is #F3FDAD. Grayscale: #0D0D0D. Windows color (decimal): -15990190 or 5374476. OLE color: 5374476.
HSL color Cylindrical-coordinate representation of color #0C0252: hue angle of 247.5º degrees, saturation: 0.95, lightness: 0.16%. HSV value (or HSB Brightness) of color is 0.32% and HSV saturation: 0.98%. Process color model (Four color, CMYK) of #0C0252 is Cyan = 0.85, Magento = 0.98, Yellow = 0 and Black (K on CMYK) = 0.68.
Color convert
| RGB | 12 | 2 | 82 | - |
| CMYK | 0.85 | 0.98 | 0 | 0.68 |
| HSL | 247.5º | 0.95% | 0.16% | - |
| HSV(B) | 247.5º | 0.98% | 0.32% | - |
| XYZ | 1.7 | 0.73 | 8.03 | - |
| YUV | 14.11 | 166.31 | 126.5 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 2 | 82 | 0.85 | 0.98 | 0 | 0.68 | 247.5 | 0.95 | 0.16 |
| Hex | C | 2 | 52 | 55 | 62 | 0 | 44 | F8 | 5F | 10 |
| Octal | 14 | 2 | 122 | 125 | 142 | 0 | 104 | 370 | 137 | 20 |
| Binary | 1100 | 10 | 1010010 | 1010101 | 1100010 | 0 | 1000100 | 11111000 | 1011111 | 10000 |
Color Harmonies of #0C0252
Complementary color
Monochromatic Colors of #0C0252
Black with #0C0252
Text Example
Text Example
White with #0C0252
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C0252; }
p { color: rgb(12,2,82); }
H1.HeaderClassName
{
color: #0C0252;
}
.AnyTagClassName
{
color: #0C0252;
}
</style>
background-color css
<style>
a { background-color: #0C0252; }
a { background-color: rgb(12,2,82); }
div.DivClassName
{
background-color: #0C0252;
}
.BgClassName
{
background-color: #0C0252;
}
</style>
border-color css
<style>
span { border-color: #0C0252; }
span { border-color: rgb(12,2,82); }
td.TdClassName
{
border-color: #0C0252;
}
.TagClassName
{
border-color: #0C0252;
}
</style>