Shades of Midnight Blue #12156F
Tints of Midnight Blue #12156F
RGB
CMYK
RGB Variations
Color information
#12156F (or 0x12156F) is known color: Midnight Blue. HEX triplet: 12, 15 and 6F. RGB value is (18,21,111). Sum of RGB (Red+Green+Blue) = 18+21+111=150 (19% of max value = 765). Red value is 18 (7.42% from 255 or 12% from 150); Green value is 21 (8.59% from 255 or 14% from 150); Blue value is 111 (43.75% from 255 or 74% from 150); Max value from RGB is 111 - color contains mainly: blue. Hex color #12156F is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #12156F is #EDEA90. Grayscale: #1E1E1E. Windows color (decimal): -15592081 or 7279890. OLE color: 7279890.
HSL color Cylindrical-coordinate representation of color #12156F: hue angle of 238.06º degrees, saturation: 0.72, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #12156F is Cyan = 0.84, Magento = 0.81, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 18 | 21 | 111 | - |
| CMYK | 0.84 | 0.81 | 0 | 0.56 |
| HSL | 238.06º | 0.72% | 0.25% | - |
| HSV(B) | 238.06º | 0.84% | 0.44% | - |
| XYZ | 3.39 | 1.81 | 15.21 | - |
| YUV | 30.36 | 173.51 | 119.18 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 21 | 111 | 0.84 | 0.81 | 0 | 0.56 | 238.06 | 0.72 | 0.25 |
| Hex | 12 | 15 | 6F | 54 | 51 | 0 | 38 | EE | 48 | 19 |
| Octal | 22 | 25 | 157 | 124 | 121 | 0 | 70 | 356 | 110 | 31 |
| Binary | 10010 | 10101 | 1101111 | 1010100 | 1010001 | 0 | 111000 | 11101110 | 1001000 | 11001 |
Color Harmonies of #12156F
Complementary color
Monochromatic Colors of #12156F
Black with #12156F
Text Example
Text Example
White with #12156F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #12156F; }
p { color: rgb(18,21,111); }
H1.HeaderClassName
{
color: #12156F;
}
.AnyTagClassName
{
color: #12156F;
}
</style>
background-color css
<style>
a { background-color: #12156F; }
a { background-color: rgb(18,21,111); }
div.DivClassName
{
background-color: #12156F;
}
.BgClassName
{
background-color: #12156F;
}
</style>
border-color css
<style>
span { border-color: #12156F; }
span { border-color: rgb(18,21,111); }
td.TdClassName
{
border-color: #12156F;
}
.TagClassName
{
border-color: #12156F;
}
</style>