Shades of Midnight Blue #12157C
Tints of Midnight Blue #12157C
RGB
CMYK
RGB Variations
Color information
#12157C (or 0x12157C) is known color: Midnight Blue. HEX triplet: 12, 15 and 7C. RGB value is (18,21,124). Sum of RGB (Red+Green+Blue) = 18+21+124=163 (21% of max value = 765). Red value is 18 (7.42% from 255 or 11.04% from 163); Green value is 21 (8.59% from 255 or 12.88% from 163); Blue value is 124 (48.83% from 255 or 76.07% from 163); Max value from RGB is 124 - color contains mainly: blue. Hex color #12157C is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #12157C is #EDEA83. Grayscale: #1F1F1F. Windows color (decimal): -15592068 or 8131858. OLE color: 8131858.
HSL color Cylindrical-coordinate representation of color #12157C: hue angle of 238.3º degrees, saturation: 0.75, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.85%. Process color model (Four color, CMYK) of #12157C is Cyan = 0.85, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 18 | 21 | 124 | - |
| CMYK | 0.85 | 0.83 | 0 | 0.51 |
| HSL | 238.3º | 0.75% | 0.28% | - |
| HSV(B) | 238.3º | 0.85% | 0.49% | - |
| XYZ | 4.16 | 2.12 | 19.26 | - |
| YUV | 31.85 | 180.01 | 118.12 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 18 | 21 | 124 | 0.85 | 0.83 | 0 | 0.51 | 238.3 | 0.75 | 0.28 |
| Hex | 12 | 15 | 7C | 55 | 53 | 0 | 33 | EE | 4B | 1C |
| Octal | 22 | 25 | 174 | 125 | 123 | 0 | 63 | 356 | 113 | 34 |
| Binary | 10010 | 10101 | 1111100 | 1010101 | 1010011 | 0 | 110011 | 11101110 | 1001011 | 11100 |
Color Harmonies of #12157C
Complementary color
Monochromatic Colors of #12157C
Black with #12157C
Text Example
Text Example
White with #12157C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #12157C; }
p { color: rgb(18,21,124); }
H1.HeaderClassName
{
color: #12157C;
}
.AnyTagClassName
{
color: #12157C;
}
</style>
background-color css
<style>
a { background-color: #12157C; }
a { background-color: rgb(18,21,124); }
div.DivClassName
{
background-color: #12157C;
}
.BgClassName
{
background-color: #12157C;
}
</style>
border-color css
<style>
span { border-color: #12157C; }
span { border-color: rgb(18,21,124); }
td.TdClassName
{
border-color: #12157C;
}
.TagClassName
{
border-color: #12157C;
}
</style>