Shades of Midnight Blue #0C1A7D
Tints of Midnight Blue #0C1A7D
RGB
CMYK
RGB Variations
Color information
#0C1A7D (or 0x0C1A7D) is known color: Midnight Blue. HEX triplet: 0C, 1A and 7D. RGB value is (12,26,125). Sum of RGB (Red+Green+Blue) = 12+26+125=163 (21% of max value = 765). Red value is 12 (5.08% from 255 or 7.36% from 163); Green value is 26 (10.55% from 255 or 15.95% from 163); Blue value is 125 (49.22% from 255 or 76.69% from 163); Max value from RGB is 125 - color contains mainly: blue. Hex color #0C1A7D is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #0C1A7D is #F3E582. Grayscale: #202020. Windows color (decimal): -15984003 or 8198668. OLE color: 8198668.
HSL color Cylindrical-coordinate representation of color #0C1A7D: hue angle of 232.57º 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 #0C1A7D is Cyan = 0.90, Magento = 0.79, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 12 | 26 | 125 | - |
| CMYK | 0.90 | 0.79 | 0 | 0.51 |
| HSL | 232.57º | 0.82% | 0.27% | - |
| HSV(B) | 232.57º | 0.9% | 0.49% | - |
| XYZ | 4.22 | 2.3 | 19.62 | - |
| YUV | 33.1 | 179.86 | 112.95 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 26 | 125 | 0.90 | 0.79 | 0 | 0.51 | 232.57 | 0.82 | 0.27 |
| Hex | C | 1A | 7D | 5A | 4F | 0 | 33 | E9 | 52 | 1B |
| Octal | 14 | 32 | 175 | 132 | 117 | 0 | 63 | 351 | 122 | 33 |
| Binary | 1100 | 11010 | 1111101 | 1011010 | 1001111 | 0 | 110011 | 11101001 | 1010010 | 11011 |
Color Harmonies of #0C1A7D
Complementary color
Monochromatic Colors of #0C1A7D
Black with #0C1A7D
Text Example
Text Example
White with #0C1A7D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C1A7D; }
p { color: rgb(12,26,125); }
H1.HeaderClassName
{
color: #0C1A7D;
}
.AnyTagClassName
{
color: #0C1A7D;
}
</style>
background-color css
<style>
a { background-color: #0C1A7D; }
a { background-color: rgb(12,26,125); }
div.DivClassName
{
background-color: #0C1A7D;
}
.BgClassName
{
background-color: #0C1A7D;
}
</style>
border-color css
<style>
span { border-color: #0C1A7D; }
span { border-color: rgb(12,26,125); }
td.TdClassName
{
border-color: #0C1A7D;
}
.TagClassName
{
border-color: #0C1A7D;
}
</style>