Shades of Midnight Express #0C1F42
Tints of Midnight Express #0C1F42
RGB
CMYK
RGB Variations
Color information
#0C1F42 (or 0x0C1F42) is known color: Midnight Express. HEX triplet: 0C, 1F and 42. RGB value is (12,31,66). Sum of RGB (Red+Green+Blue) = 12+31+66=109 (14% of max value = 765). Red value is 12 (5.08% from 255 or 11.01% from 109); Green value is 31 (12.5% from 255 or 28.44% from 109); Blue value is 66 (26.17% from 255 or 60.55% from 109); Max value from RGB is 66 - color contains mainly: blue. Hex color #0C1F42 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #0C1F42 is #F3E0BD. Grayscale: #1D1D1D. Windows color (decimal): -15982782 or 4333324. OLE color: 4333324.
HSL color Cylindrical-coordinate representation of color #0C1F42: hue angle of 218.89º degrees, saturation: 0.69, lightness: 0.15%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.82%. Process color model (Four color, CMYK) of #0C1F42 is Cyan = 0.82, Magento = 0.53, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 12 | 31 | 66 | - |
| CMYK | 0.82 | 0.53 | 0 | 0.74 |
| HSL | 218.89º | 0.69% | 0.15% | - |
| HSV(B) | 218.89º | 0.82% | 0.26% | - |
| XYZ | 1.62 | 1.45 | 5.35 | - |
| YUV | 29.31 | 148.71 | 115.65 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 31 | 66 | 0.82 | 0.53 | 0 | 0.74 | 218.89 | 0.69 | 0.15 |
| Hex | C | 1F | 42 | 52 | 35 | 0 | 4A | DB | 45 | F |
| Octal | 14 | 37 | 102 | 122 | 65 | 0 | 112 | 333 | 105 | 17 |
| Binary | 1100 | 11111 | 1000010 | 1010010 | 110101 | 0 | 1001010 | 11011011 | 1000101 | 1111 |
Color Harmonies of #0C1F42
Complementary color
Monochromatic Colors of #0C1F42
Black with #0C1F42
Text Example
Text Example
White with #0C1F42
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C1F42; }
p { color: rgb(12,31,66); }
H1.HeaderClassName
{
color: #0C1F42;
}
.AnyTagClassName
{
color: #0C1F42;
}
</style>
background-color css
<style>
a { background-color: #0C1F42; }
a { background-color: rgb(12,31,66); }
div.DivClassName
{
background-color: #0C1F42;
}
.BgClassName
{
background-color: #0C1F42;
}
</style>
border-color css
<style>
span { border-color: #0C1F42; }
span { border-color: rgb(12,31,66); }
td.TdClassName
{
border-color: #0C1F42;
}
.TagClassName
{
border-color: #0C1F42;
}
</style>