Shades of Midnight Blue #151172
Tints of Midnight Blue #151172
RGB
CMYK
RGB Variations
Color information
#151172 (or 0x151172) is known color: Midnight Blue. HEX triplet: 15, 11 and 72. RGB value is (21,17,114). Sum of RGB (Red+Green+Blue) = 21+17+114=152 (20% of max value = 765). Red value is 21 (8.59% from 255 or 13.82% from 152); Green value is 17 (7.03% from 255 or 11.18% from 152); Blue value is 114 (44.92% from 255 or 75% from 152); Max value from RGB is 114 - color contains mainly: blue. Hex color #151172 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #151172 is #EAEE8D. Grayscale: #1C1C1C. Windows color (decimal): -15396494 or 7475477. OLE color: 7475477.
HSL color Cylindrical-coordinate representation of color #151172: hue angle of 242.47º degrees, saturation: 0.74, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.45% and HSV saturation: 0.85%. Process color model (Four color, CMYK) of #151172 is Cyan = 0.82, Magento = 0.85, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 21 | 17 | 114 | - |
| CMYK | 0.82 | 0.85 | 0 | 0.55 |
| HSL | 242.47º | 0.74% | 0.26% | - |
| HSV(B) | 242.47º | 0.85% | 0.45% | - |
| XYZ | 3.55 | 1.78 | 16.08 | - |
| YUV | 29.25 | 175.83 | 122.11 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 17 | 114 | 0.82 | 0.85 | 0 | 0.55 | 242.47 | 0.74 | 0.26 |
| Hex | 15 | 11 | 72 | 52 | 55 | 0 | 37 | F2 | 4A | 1A |
| Octal | 25 | 21 | 162 | 122 | 125 | 0 | 67 | 362 | 112 | 32 |
| Binary | 10101 | 10001 | 1110010 | 1010010 | 1010101 | 0 | 110111 | 11110010 | 1001010 | 11010 |
Color Harmonies of #151172
Complementary color
Monochromatic Colors of #151172
Black with #151172
Text Example
Text Example
White with #151172
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #151172; }
p { color: rgb(21,17,114); }
H1.HeaderClassName
{
color: #151172;
}
.AnyTagClassName
{
color: #151172;
}
</style>
background-color css
<style>
a { background-color: #151172; }
a { background-color: rgb(21,17,114); }
div.DivClassName
{
background-color: #151172;
}
.BgClassName
{
background-color: #151172;
}
</style>
border-color css
<style>
span { border-color: #151172; }
span { border-color: rgb(21,17,114); }
td.TdClassName
{
border-color: #151172;
}
.TagClassName
{
border-color: #151172;
}
</style>