Shades of Midnight Blue #152A82
Tints of Midnight Blue #152A82
RGB
CMYK
RGB Variations
Color information
#152A82 (or 0x152A82) is known color: Midnight Blue. HEX triplet: 15, 2A and 82. RGB value is (21,42,130). Sum of RGB (Red+Green+Blue) = 21+42+130=193 (25% of max value = 765). Red value is 21 (8.59% from 255 or 10.88% from 193); Green value is 42 (16.80% from 255 or 21.76% from 193); Blue value is 130 (51.17% from 255 or 67.36% from 193); Max value from RGB is 130 - color contains mainly: blue. Hex color #152A82 is not a web safe color. Web safe color analog (approx): #003399. Inversed color of #152A82 is #EAD57D. Grayscale: #2D2D2D. Windows color (decimal): -15390078 or 8530453. OLE color: 8530453.
HSL color Cylindrical-coordinate representation of color #152A82: hue angle of 228.44º 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 #152A82 is Cyan = 0.84, Magento = 0.68, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 21 | 42 | 130 | - |
| CMYK | 0.84 | 0.68 | 0 | 0.49 |
| HSL | 228.44º | 0.72% | 0.3% | - |
| HSV(B) | 228.44º | 0.84% | 0.51% | - |
| XYZ | 5.17 | 3.43 | 21.51 | - |
| YUV | 45.75 | 175.54 | 110.34 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 42 | 130 | 0.84 | 0.68 | 0 | 0.49 | 228.44 | 0.72 | 0.3 |
| Hex | 15 | 2A | 82 | 54 | 44 | 0 | 31 | E4 | 48 | 1E |
| Octal | 25 | 52 | 202 | 124 | 104 | 0 | 61 | 344 | 110 | 36 |
| Binary | 10101 | 101010 | 10000010 | 1010100 | 1000100 | 0 | 110001 | 11100100 | 1001000 | 11110 |
Color Harmonies of #152A82
Complementary color
Monochromatic Colors of #152A82
Black with #152A82
Text Example
Text Example
White with #152A82
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152A82; }
p { color: rgb(21,42,130); }
H1.HeaderClassName
{
color: #152A82;
}
.AnyTagClassName
{
color: #152A82;
}
</style>
background-color css
<style>
a { background-color: #152A82; }
a { background-color: rgb(21,42,130); }
div.DivClassName
{
background-color: #152A82;
}
.BgClassName
{
background-color: #152A82;
}
</style>
border-color css
<style>
span { border-color: #152A82; }
span { border-color: rgb(21,42,130); }
td.TdClassName
{
border-color: #152A82;
}
.TagClassName
{
border-color: #152A82;
}
</style>