Shades of Midnight Blue #0C167C
Tints of Midnight Blue #0C167C
RGB
CMYK
RGB Variations
Color information
#0C167C (or 0x0C167C) is known color: Midnight Blue. HEX triplet: 0C, 16 and 7C. RGB value is (12,22,124). Sum of RGB (Red+Green+Blue) = 12+22+124=158 (20% of max value = 765). Red value is 12 (5.08% from 255 or 7.59% from 158); Green value is 22 (8.98% from 255 or 13.92% from 158); Blue value is 124 (48.83% from 255 or 78.48% from 158); Max value from RGB is 124 - color contains mainly: blue. Hex color #0C167C is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #0C167C is #F3E983. Grayscale: #1E1E1E. Windows color (decimal): -15985028 or 8132108. OLE color: 8132108.
HSL color Cylindrical-coordinate representation of color #0C167C: hue angle of 234.64º degrees, saturation: 0.82, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.9%. Process color model (Four color, CMYK) of #0C167C is Cyan = 0.90, Magento = 0.82, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 12 | 22 | 124 | - |
| CMYK | 0.90 | 0.82 | 0 | 0.51 |
| HSL | 234.64º | 0.82% | 0.27% | - |
| HSV(B) | 234.64º | 0.9% | 0.49% | - |
| XYZ | 4.08 | 2.11 | 19.26 | - |
| YUV | 30.64 | 180.69 | 114.71 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 22 | 124 | 0.90 | 0.82 | 0 | 0.51 | 234.64 | 0.82 | 0.27 |
| Hex | C | 16 | 7C | 5A | 52 | 0 | 33 | EB | 52 | 1B |
| Octal | 14 | 26 | 174 | 132 | 122 | 0 | 63 | 353 | 122 | 33 |
| Binary | 1100 | 10110 | 1111100 | 1011010 | 1010010 | 0 | 110011 | 11101011 | 1010010 | 11011 |
Color Harmonies of #0C167C
Complementary color
Monochromatic Colors of #0C167C
Black with #0C167C
Text Example
Text Example
White with #0C167C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C167C; }
p { color: rgb(12,22,124); }
H1.HeaderClassName
{
color: #0C167C;
}
.AnyTagClassName
{
color: #0C167C;
}
</style>
background-color css
<style>
a { background-color: #0C167C; }
a { background-color: rgb(12,22,124); }
div.DivClassName
{
background-color: #0C167C;
}
.BgClassName
{
background-color: #0C167C;
}
</style>
border-color css
<style>
span { border-color: #0C167C; }
span { border-color: rgb(12,22,124); }
td.TdClassName
{
border-color: #0C167C;
}
.TagClassName
{
border-color: #0C167C;
}
</style>