Shades of Midnight Blue #0C1E7A
Tints of Midnight Blue #0C1E7A
RGB
CMYK
RGB Variations
Color information
#0C1E7A (or 0x0C1E7A) is known color: Midnight Blue. HEX triplet: 0C, 1E and 7A. RGB value is (12,30,122). Sum of RGB (Red+Green+Blue) = 12+30+122=164 (21% of max value = 765). Red value is 12 (5.08% from 255 or 7.32% from 164); Green value is 30 (12.11% from 255 or 18.29% from 164); Blue value is 122 (48.05% from 255 or 74.39% from 164); Max value from RGB is 122 - color contains mainly: blue. Hex color #0C1E7A is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #0C1E7A is #F3E185. Grayscale: #222222. Windows color (decimal): -15982982 or 8003084. OLE color: 8003084.
HSL color Cylindrical-coordinate representation of color #0C1E7A: hue angle of 230.18º degrees, saturation: 0.82, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.9%. Process color model (Four color, CMYK) of #0C1E7A is Cyan = 0.90, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 12 | 30 | 122 | - |
| CMYK | 0.90 | 0.75 | 0 | 0.52 |
| HSL | 230.18º | 0.82% | 0.26% | - |
| HSV(B) | 230.18º | 0.9% | 0.48% | - |
| XYZ | 4.13 | 2.41 | 18.66 | - |
| YUV | 35.11 | 177.04 | 111.52 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 30 | 122 | 0.90 | 0.75 | 0 | 0.52 | 230.18 | 0.82 | 0.26 |
| Hex | C | 1E | 7A | 5A | 4B | 0 | 34 | E6 | 52 | 1A |
| Octal | 14 | 36 | 172 | 132 | 113 | 0 | 64 | 346 | 122 | 32 |
| Binary | 1100 | 11110 | 1111010 | 1011010 | 1001011 | 0 | 110100 | 11100110 | 1010010 | 11010 |
Color Harmonies of #0C1E7A
Complementary color
Monochromatic Colors of #0C1E7A
Black with #0C1E7A
Text Example
Text Example
White with #0C1E7A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C1E7A; }
p { color: rgb(12,30,122); }
H1.HeaderClassName
{
color: #0C1E7A;
}
.AnyTagClassName
{
color: #0C1E7A;
}
</style>
background-color css
<style>
a { background-color: #0C1E7A; }
a { background-color: rgb(12,30,122); }
div.DivClassName
{
background-color: #0C1E7A;
}
.BgClassName
{
background-color: #0C1E7A;
}
</style>
border-color css
<style>
span { border-color: #0C1E7A; }
span { border-color: rgb(12,30,122); }
td.TdClassName
{
border-color: #0C1E7A;
}
.TagClassName
{
border-color: #0C1E7A;
}
</style>