Shades of Midnight Blue #12156E
Tints of Midnight Blue #12156E
RGB
CMYK
RGB Variations
Color information
#12156E (or 0x12156E) is known color: Midnight Blue. HEX triplet: 12, 15 and 6E. RGB value is (18,21,110). Sum of RGB (Red+Green+Blue) = 18+21+110=149 (19% of max value = 765). Red value is 18 (7.42% from 255 or 12.08% from 149); Green value is 21 (8.59% from 255 or 14.09% from 149); Blue value is 110 (43.36% from 255 or 73.83% from 149); Max value from RGB is 110 - color contains mainly: blue. Hex color #12156E is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #12156E is #EDEA91. Grayscale: #1D1D1D. Windows color (decimal): -15592082 or 7214354. OLE color: 7214354.
HSL color Cylindrical-coordinate representation of color #12156E: hue angle of 238.04º degrees, saturation: 0.72, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.43% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #12156E is Cyan = 0.84, Magento = 0.81, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 18 | 21 | 110 | - |
| CMYK | 0.84 | 0.81 | 0 | 0.57 |
| HSL | 238.04º | 0.72% | 0.25% | - |
| HSV(B) | 238.04º | 0.84% | 0.43% | - |
| XYZ | 3.33 | 1.79 | 14.92 | - |
| YUV | 30.25 | 173.01 | 119.26 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 21 | 110 | 0.84 | 0.81 | 0 | 0.57 | 238.04 | 0.72 | 0.25 |
| Hex | 12 | 15 | 6E | 54 | 51 | 0 | 39 | EE | 48 | 19 |
| Octal | 22 | 25 | 156 | 124 | 121 | 0 | 71 | 356 | 110 | 31 |
| Binary | 10010 | 10101 | 1101110 | 1010100 | 1010001 | 0 | 111001 | 11101110 | 1001000 | 11001 |
Color Harmonies of #12156E
Complementary color
Monochromatic Colors of #12156E
Black with #12156E
Text Example
Text Example
White with #12156E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #12156E; }
p { color: rgb(18,21,110); }
H1.HeaderClassName
{
color: #12156E;
}
.AnyTagClassName
{
color: #12156E;
}
</style>
background-color css
<style>
a { background-color: #12156E; }
a { background-color: rgb(18,21,110); }
div.DivClassName
{
background-color: #12156E;
}
.BgClassName
{
background-color: #12156E;
}
</style>
border-color css
<style>
span { border-color: #12156E; }
span { border-color: rgb(18,21,110); }
td.TdClassName
{
border-color: #12156E;
}
.TagClassName
{
border-color: #12156E;
}
</style>