Shades of Midnight #0C274C
Tints of Midnight #0C274C
RGB
CMYK
RGB Variations
Color information
#0C274C (or 0x0C274C) is known color: Midnight. HEX triplet: 0C, 27 and 4C. RGB value is (12,39,76). Sum of RGB (Red+Green+Blue) = 12+39+76=127 (16% of max value = 765). Red value is 12 (5.08% from 255 or 9.45% from 127); Green value is 39 (15.62% from 255 or 30.71% from 127); Blue value is 76 (30.08% from 255 or 59.84% from 127); Max value from RGB is 76 - color contains mainly: blue. Hex color #0C274C is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #0C274C is #F3D8B3. Grayscale: #222222. Windows color (decimal): -15980724 or 4990732. OLE color: 4990732.
HSL color Cylindrical-coordinate representation of color #0C274C: hue angle of 214.69º degrees, saturation: 0.73, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.3% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #0C274C is Cyan = 0.84, Magento = 0.49, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 12 | 39 | 76 | - |
| CMYK | 0.84 | 0.49 | 0 | 0.70 |
| HSL | 214.69º | 0.73% | 0.17% | - |
| HSV(B) | 214.69º | 0.84% | 0.3% | - |
| XYZ | 2.18 | 2.05 | 7.12 | - |
| YUV | 35.15 | 151.05 | 111.49 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 12 | 39 | 76 | 0.84 | 0.49 | 0 | 0.70 | 214.69 | 0.73 | 0.17 |
| Hex | C | 27 | 4C | 54 | 31 | 0 | 46 | D7 | 49 | 11 |
| Octal | 14 | 47 | 114 | 124 | 61 | 0 | 106 | 327 | 111 | 21 |
| Binary | 1100 | 100111 | 1001100 | 1010100 | 110001 | 0 | 1000110 | 11010111 | 1001001 | 10001 |
Color Harmonies of #0C274C
Complementary color
Monochromatic Colors of #0C274C
Black with #0C274C
Text Example
Text Example
White with #0C274C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #0C274C; }
p { color: rgb(12,39,76); }
H1.HeaderClassName
{
color: #0C274C;
}
.AnyTagClassName
{
color: #0C274C;
}
</style>
background-color css
<style>
a { background-color: #0C274C; }
a { background-color: rgb(12,39,76); }
div.DivClassName
{
background-color: #0C274C;
}
.BgClassName
{
background-color: #0C274C;
}
</style>
border-color css
<style>
span { border-color: #0C274C; }
span { border-color: rgb(12,39,76); }
td.TdClassName
{
border-color: #0C274C;
}
.TagClassName
{
border-color: #0C274C;
}
</style>