Shades of Midnight Blue #151256
Tints of Midnight Blue #151256
RGB
CMYK
RGB Variations
Color information
#151256 (or 0x151256) is known color: Midnight Blue. HEX triplet: 15, 12 and 56. RGB value is (21,18,86). Sum of RGB (Red+Green+Blue) = 21+18+86=125 (16% of max value = 765). Red value is 21 (8.59% from 255 or 16.8% from 125); Green value is 18 (7.42% from 255 or 14.4% from 125); Blue value is 86 (33.98% from 255 or 68.8% from 125); Max value from RGB is 86 - color contains mainly: blue. Hex color #151256 is not a web safe color. Web safe color analog (approx): #000066. Inversed color of #151256 is #EAEDA9. Grayscale: #1A1A1A. Windows color (decimal): -15396266 or 5640725. OLE color: 5640725.
HSL color Cylindrical-coordinate representation of color #151256: hue angle of 242.65º degrees, saturation: 0.65, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.34% and HSV saturation: 0.79%. Process color model (Four color, CMYK) of #151256 is Cyan = 0.76, Magento = 0.79, Yellow = 0 and Black (K on CMYK) = 0.66.
Color convert
| RGB | 21 | 18 | 86 | - |
| CMYK | 0.76 | 0.79 | 0 | 0.66 |
| HSL | 242.65º | 0.65% | 0.2% | - |
| HSV(B) | 242.65º | 0.79% | 0.34% | - |
| XYZ | 2.21 | 1.26 | 8.93 | - |
| YUV | 26.65 | 161.49 | 123.97 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 18 | 86 | 0.76 | 0.79 | 0 | 0.66 | 242.65 | 0.65 | 0.2 |
| Hex | 15 | 12 | 56 | 4C | 4F | 0 | 42 | F3 | 41 | 14 |
| Octal | 25 | 22 | 126 | 114 | 117 | 0 | 102 | 363 | 101 | 24 |
| Binary | 10101 | 10010 | 1010110 | 1001100 | 1001111 | 0 | 1000010 | 11110011 | 1000001 | 10100 |
Color Harmonies of #151256
Complementary color
Monochromatic Colors of #151256
Black with #151256
Text Example
Text Example
White with #151256
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #151256; }
p { color: rgb(21,18,86); }
H1.HeaderClassName
{
color: #151256;
}
.AnyTagClassName
{
color: #151256;
}
</style>
background-color css
<style>
a { background-color: #151256; }
a { background-color: rgb(21,18,86); }
div.DivClassName
{
background-color: #151256;
}
.BgClassName
{
background-color: #151256;
}
</style>
border-color css
<style>
span { border-color: #151256; }
span { border-color: rgb(21,18,86); }
td.TdClassName
{
border-color: #151256;
}
.TagClassName
{
border-color: #151256;
}
</style>