Shades of Midnight Blue #0C0451
Tints of Midnight Blue #0C0451
RGB
CMYK
RGB Variations
Color information
#0C0451 (or 0x0C0451) is known color: Midnight Blue. HEX triplet: 0C, 04 and 51. RGB value is (12,4,81). Sum of RGB (Red+Green+Blue) = 12+4+81=97 (12% of max value = 765). Red value is 12 (5.08% from 255 or 12.37% from 97); Green value is 4 (1.95% from 255 or 4.12% from 97); Blue value is 81 (32.03% from 255 or 83.51% from 97); Max value from RGB is 81 - color contains mainly: blue. Hex color #0C0451 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C0451 is #F3FBAE. Grayscale: #0E0E0E. Windows color (decimal): -15989679 or 5309452. OLE color: 5309452.
HSL color Cylindrical-coordinate representation of color #0C0451: hue angle of 246.23º 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 #0C0451 is Cyan = 0.85, Magento = 0.95, Yellow = 0 and Black (K on CMYK) = 0.68.
Color convert
| RGB | 12 | 4 | 81 | - |
| CMYK | 0.85 | 0.95 | 0 | 0.68 |
| HSL | 246.23º | 0.91% | 0.17% | - |
| HSV(B) | 246.23º | 0.95% | 0.32% | - |
| XYZ | 1.68 | 0.76 | 7.84 | - |
| YUV | 15.17 | 165.15 | 125.74 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 4 | 81 | 0.85 | 0.95 | 0 | 0.68 | 246.23 | 0.91 | 0.17 |
| Hex | C | 4 | 51 | 55 | 5F | 0 | 44 | F6 | 5B | 11 |
| Octal | 14 | 4 | 121 | 125 | 137 | 0 | 104 | 366 | 133 | 21 |
| Binary | 1100 | 100 | 1010001 | 1010101 | 1011111 | 0 | 1000100 | 11110110 | 1011011 | 10001 |
Color Harmonies of #0C0451
Complementary color
Monochromatic Colors of #0C0451
Black with #0C0451
Text Example
Text Example
White with #0C0451
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C0451; }
p { color: rgb(12,4,81); }
H1.HeaderClassName
{
color: #0C0451;
}
.AnyTagClassName
{
color: #0C0451;
}
</style>
background-color css
<style>
a { background-color: #0C0451; }
a { background-color: rgb(12,4,81); }
div.DivClassName
{
background-color: #0C0451;
}
.BgClassName
{
background-color: #0C0451;
}
</style>
border-color css
<style>
span { border-color: #0C0451; }
span { border-color: rgb(12,4,81); }
td.TdClassName
{
border-color: #0C0451;
}
.TagClassName
{
border-color: #0C0451;
}
</style>