Shades of Midnight Blue #12156A
Tints of Midnight Blue #12156A
RGB
CMYK
RGB Variations
Color information
#12156A (or 0x12156A) is known color: Midnight Blue. HEX triplet: 12, 15 and 6A. RGB value is (18,21,106). Sum of RGB (Red+Green+Blue) = 18+21+106=145 (19% of max value = 765). Red value is 18 (7.42% from 255 or 12.41% from 145); Green value is 21 (8.59% from 255 or 14.48% from 145); Blue value is 106 (41.80% from 255 or 73.10% from 145); Max value from RGB is 106 - color contains mainly: blue. Hex color #12156A is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #12156A is #EDEA95. Grayscale: #1D1D1D. Windows color (decimal): -15592086 or 6952210. OLE color: 6952210.
HSL color Cylindrical-coordinate representation of color #12156A: hue angle of 237.95º degrees, saturation: 0.71, lightness: 0.24%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #12156A is Cyan = 0.83, Magento = 0.80, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 18 | 21 | 106 | - |
| CMYK | 0.83 | 0.80 | 0 | 0.58 |
| HSL | 237.95º | 0.71% | 0.24% | - |
| HSV(B) | 237.95º | 0.83% | 0.42% | - |
| XYZ | 3.12 | 1.71 | 13.8 | - |
| YUV | 29.79 | 171.01 | 119.59 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 21 | 106 | 0.83 | 0.80 | 0 | 0.58 | 237.95 | 0.71 | 0.24 |
| Hex | 12 | 15 | 6A | 53 | 50 | 0 | 3A | EE | 47 | 18 |
| Octal | 22 | 25 | 152 | 123 | 120 | 0 | 72 | 356 | 107 | 30 |
| Binary | 10010 | 10101 | 1101010 | 1010011 | 1010000 | 0 | 111010 | 11101110 | 1000111 | 11000 |
Color Harmonies of #12156A
Complementary color
Monochromatic Colors of #12156A
Black with #12156A
Text Example
Text Example
White with #12156A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #12156A; }
p { color: rgb(18,21,106); }
H1.HeaderClassName
{
color: #12156A;
}
.AnyTagClassName
{
color: #12156A;
}
</style>
background-color css
<style>
a { background-color: #12156A; }
a { background-color: rgb(18,21,106); }
div.DivClassName
{
background-color: #12156A;
}
.BgClassName
{
background-color: #12156A;
}
</style>
border-color css
<style>
span { border-color: #12156A; }
span { border-color: rgb(18,21,106); }
td.TdClassName
{
border-color: #12156A;
}
.TagClassName
{
border-color: #12156A;
}
</style>