Shades of Midnight Blue #151271
Tints of Midnight Blue #151271
RGB
CMYK
RGB Variations
Color information
#151271 (or 0x151271) is known color: Midnight Blue. HEX triplet: 15, 12 and 71. RGB value is (21,18,113). Sum of RGB (Red+Green+Blue) = 21+18+113=152 (20% of max value = 765). Red value is 21 (8.59% from 255 or 13.82% from 152); Green value is 18 (7.42% from 255 or 11.84% from 152); Blue value is 113 (44.53% from 255 or 74.34% from 152); Max value from RGB is 113 - color contains mainly: blue. Hex color #151271 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #151271 is #EAED8E. Grayscale: #1D1D1D. Windows color (decimal): -15396239 or 7410197. OLE color: 7410197.
HSL color Cylindrical-coordinate representation of color #151271: hue angle of 241.89º degrees, saturation: 0.73, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #151271 is Cyan = 0.81, Magento = 0.84, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 21 | 18 | 113 | - |
| CMYK | 0.81 | 0.84 | 0 | 0.56 |
| HSL | 241.89º | 0.73% | 0.26% | - |
| HSV(B) | 241.89º | 0.84% | 0.44% | - |
| XYZ | 3.51 | 1.78 | 15.78 | - |
| YUV | 29.73 | 174.99 | 121.78 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 18 | 113 | 0.81 | 0.84 | 0 | 0.56 | 241.89 | 0.73 | 0.26 |
| Hex | 15 | 12 | 71 | 51 | 54 | 0 | 38 | F2 | 49 | 1A |
| Octal | 25 | 22 | 161 | 121 | 124 | 0 | 70 | 362 | 111 | 32 |
| Binary | 10101 | 10010 | 1110001 | 1010001 | 1010100 | 0 | 111000 | 11110010 | 1001001 | 11010 |
Color Harmonies of #151271
Complementary color
Monochromatic Colors of #151271
Black with #151271
Text Example
Text Example
White with #151271
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #151271; }
p { color: rgb(21,18,113); }
H1.HeaderClassName
{
color: #151271;
}
.AnyTagClassName
{
color: #151271;
}
</style>
background-color css
<style>
a { background-color: #151271; }
a { background-color: rgb(21,18,113); }
div.DivClassName
{
background-color: #151271;
}
.BgClassName
{
background-color: #151271;
}
</style>
border-color css
<style>
span { border-color: #151271; }
span { border-color: rgb(21,18,113); }
td.TdClassName
{
border-color: #151271;
}
.TagClassName
{
border-color: #151271;
}
</style>