Shades of Midnight Blue #0C0452
Tints of Midnight Blue #0C0452
RGB
CMYK
RGB Variations
Color information
#0C0452 (or 0x0C0452) is known color: Midnight Blue. HEX triplet: 0C, 04 and 52. RGB value is (12,4,82). Sum of RGB (Red+Green+Blue) = 12+4+82=98 (12% of max value = 765). Red value is 12 (5.08% from 255 or 12.24% from 98); Green value is 4 (1.95% from 255 or 4.08% from 98); Blue value is 82 (32.42% from 255 or 83.67% from 98); Max value from RGB is 82 - color contains mainly: blue. Hex color #0C0452 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C0452 is #F3FBAD. Grayscale: #0E0E0E. Windows color (decimal): -15989678 or 5374988. OLE color: 5374988.
HSL color Cylindrical-coordinate representation of color #0C0452: hue angle of 246.15º degrees, saturation: 0.91, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.32% and HSV saturation: 0.95%. Process color model (Four color, CMYK) of #0C0452 is Cyan = 0.85, Magento = 0.95, Yellow = 0 and Black (K on CMYK) = 0.68.
Color convert
| RGB | 12 | 4 | 82 | - |
| CMYK | 0.85 | 0.95 | 0 | 0.68 |
| HSL | 246.15º | 0.91% | 0.17% | - |
| HSV(B) | 246.15º | 0.95% | 0.32% | - |
| XYZ | 1.72 | 0.77 | 8.04 | - |
| YUV | 15.28 | 165.65 | 125.66 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 4 | 82 | 0.85 | 0.95 | 0 | 0.68 | 246.15 | 0.91 | 0.17 |
| Hex | C | 4 | 52 | 55 | 5F | 0 | 44 | F6 | 5B | 11 |
| Octal | 14 | 4 | 122 | 125 | 137 | 0 | 104 | 366 | 133 | 21 |
| Binary | 1100 | 100 | 1010010 | 1010101 | 1011111 | 0 | 1000100 | 11110110 | 1011011 | 10001 |
Color Harmonies of #0C0452
Complementary color
Monochromatic Colors of #0C0452
Black with #0C0452
Text Example
Text Example
White with #0C0452
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C0452; }
p { color: rgb(12,4,82); }
H1.HeaderClassName
{
color: #0C0452;
}
.AnyTagClassName
{
color: #0C0452;
}
</style>
background-color css
<style>
a { background-color: #0C0452; }
a { background-color: rgb(12,4,82); }
div.DivClassName
{
background-color: #0C0452;
}
.BgClassName
{
background-color: #0C0452;
}
</style>
border-color css
<style>
span { border-color: #0C0452; }
span { border-color: rgb(12,4,82); }
td.TdClassName
{
border-color: #0C0452;
}
.TagClassName
{
border-color: #0C0452;
}
</style>