Shades of Midnight Blue #152782
Tints of Midnight Blue #152782
RGB
CMYK
RGB Variations
Color information
#152782 (or 0x152782) is known color: Midnight Blue. HEX triplet: 15, 27 and 82. RGB value is (21,39,130). Sum of RGB (Red+Green+Blue) = 21+39+130=190 (25% of max value = 765). Red value is 21 (8.59% from 255 or 11.05% from 190); Green value is 39 (15.62% from 255 or 20.53% from 190); Blue value is 130 (51.17% from 255 or 68.42% from 190); Max value from RGB is 130 - color contains mainly: blue. Hex color #152782 is not a web safe color. Web safe color analog (approx): #003399. Inversed color of #152782 is #EAD87D. Grayscale: #2B2B2B. Windows color (decimal): -15390846 or 8529685. OLE color: 8529685.
HSL color Cylindrical-coordinate representation of color #152782: hue angle of 230.09º degrees, saturation: 0.72, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.51% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #152782 is Cyan = 0.84, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 21 | 39 | 130 | - |
| CMYK | 0.84 | 0.70 | 0 | 0.49 |
| HSL | 230.09º | 0.72% | 0.3% | - |
| HSV(B) | 230.09º | 0.84% | 0.51% | - |
| XYZ | 5.06 | 3.22 | 21.47 | - |
| YUV | 43.99 | 176.54 | 111.6 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 39 | 130 | 0.84 | 0.70 | 0 | 0.49 | 230.09 | 0.72 | 0.3 |
| Hex | 15 | 27 | 82 | 54 | 46 | 0 | 31 | E6 | 48 | 1E |
| Octal | 25 | 47 | 202 | 124 | 106 | 0 | 61 | 346 | 110 | 36 |
| Binary | 10101 | 100111 | 10000010 | 1010100 | 1000110 | 0 | 110001 | 11100110 | 1001000 | 11110 |
Color Harmonies of #152782
Complementary color
Monochromatic Colors of #152782
Black with #152782
Text Example
Text Example
White with #152782
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152782; }
p { color: rgb(21,39,130); }
H1.HeaderClassName
{
color: #152782;
}
.AnyTagClassName
{
color: #152782;
}
</style>
background-color css
<style>
a { background-color: #152782; }
a { background-color: rgb(21,39,130); }
div.DivClassName
{
background-color: #152782;
}
.BgClassName
{
background-color: #152782;
}
</style>
border-color css
<style>
span { border-color: #152782; }
span { border-color: rgb(21,39,130); }
td.TdClassName
{
border-color: #152782;
}
.TagClassName
{
border-color: #152782;
}
</style>