Shades of Midnight Blue #152270
Tints of Midnight Blue #152270
RGB
CMYK
RGB Variations
Color information
#152270 (or 0x152270) is known color: Midnight Blue. HEX triplet: 15, 22 and 70. RGB value is (21,34,112). Sum of RGB (Red+Green+Blue) = 21+34+112=167 (22% of max value = 765). Red value is 21 (8.59% from 255 or 12.57% from 167); Green value is 34 (13.67% from 255 or 20.36% from 167); Blue value is 112 (44.14% from 255 or 67.07% from 167); Max value from RGB is 112 - color contains mainly: blue. Hex color #152270 is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #152270 is #EADD8F. Grayscale: #262626. Windows color (decimal): -15392144 or 7348757. OLE color: 7348757.
HSL color Cylindrical-coordinate representation of color #152270: hue angle of 231.43º degrees, saturation: 0.68, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.81%. Process color model (Four color, CMYK) of #152270 is Cyan = 0.81, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 21 | 34 | 112 | - |
| CMYK | 0.81 | 0.70 | 0 | 0.56 |
| HSL | 231.43º | 0.68% | 0.26% | - |
| HSV(B) | 231.43º | 0.81% | 0.44% | - |
| XYZ | 3.81 | 2.47 | 15.61 | - |
| YUV | 39.01 | 169.19 | 115.16 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 34 | 112 | 0.81 | 0.70 | 0 | 0.56 | 231.43 | 0.68 | 0.26 |
| Hex | 15 | 22 | 70 | 51 | 46 | 0 | 38 | E7 | 44 | 1A |
| Octal | 25 | 42 | 160 | 121 | 106 | 0 | 70 | 347 | 104 | 32 |
| Binary | 10101 | 100010 | 1110000 | 1010001 | 1000110 | 0 | 111000 | 11100111 | 1000100 | 11010 |
Color Harmonies of #152270
Complementary color
Monochromatic Colors of #152270
Black with #152270
Text Example
Text Example
White with #152270
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152270; }
p { color: rgb(21,34,112); }
H1.HeaderClassName
{
color: #152270;
}
.AnyTagClassName
{
color: #152270;
}
</style>
background-color css
<style>
a { background-color: #152270; }
a { background-color: rgb(21,34,112); }
div.DivClassName
{
background-color: #152270;
}
.BgClassName
{
background-color: #152270;
}
</style>
border-color css
<style>
span { border-color: #152270; }
span { border-color: rgb(21,34,112); }
td.TdClassName
{
border-color: #152270;
}
.TagClassName
{
border-color: #152270;
}
</style>