Shades of Midnight #152A43
Tints of Midnight #152A43
RGB
CMYK
RGB Variations
Color information
#152A43 (or 0x152A43) is known color: Midnight. HEX triplet: 15, 2A and 43. RGB value is (21,42,67). Sum of RGB (Red+Green+Blue) = 21+42+67=130 (17% of max value = 765). Red value is 21 (8.59% from 255 or 16.15% from 130); Green value is 42 (16.80% from 255 or 32.31% from 130); Blue value is 67 (26.56% from 255 or 51.54% from 130); Max value from RGB is 67 - color contains mainly: blue. Hex color #152A43 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #152A43 is #EAD5BC. Grayscale: #262626. Windows color (decimal): -15390141 or 4401685. OLE color: 4401685.
HSL color Cylindrical-coordinate representation of color #152A43: hue angle of 212.61º degrees, saturation: 0.52, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.69%. Process color model (Four color, CMYK) of #152A43 is Cyan = 0.69, Magento = 0.37, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 21 | 42 | 67 | - |
| CMYK | 0.69 | 0.37 | 0 | 0.74 |
| HSL | 212.61º | 0.52% | 0.17% | - |
| HSV(B) | 212.61º | 0.69% | 0.26% | - |
| XYZ | 2.15 | 2.22 | 5.63 | - |
| YUV | 38.57 | 144.04 | 115.47 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 42 | 67 | 0.69 | 0.37 | 0 | 0.74 | 212.61 | 0.52 | 0.17 |
| Hex | 15 | 2A | 43 | 45 | 25 | 0 | 4A | D5 | 34 | 11 |
| Octal | 25 | 52 | 103 | 105 | 45 | 0 | 112 | 325 | 64 | 21 |
| Binary | 10101 | 101010 | 1000011 | 1000101 | 100101 | 0 | 1001010 | 11010101 | 110100 | 10001 |
Color Harmonies of #152A43
Complementary color
Monochromatic Colors of #152A43
Black with #152A43
Text Example
Text Example
White with #152A43
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152A43; }
p { color: rgb(21,42,67); }
H1.HeaderClassName
{
color: #152A43;
}
.AnyTagClassName
{
color: #152A43;
}
</style>
background-color css
<style>
a { background-color: #152A43; }
a { background-color: rgb(21,42,67); }
div.DivClassName
{
background-color: #152A43;
}
.BgClassName
{
background-color: #152A43;
}
</style>
border-color css
<style>
span { border-color: #152A43; }
span { border-color: rgb(21,42,67); }
td.TdClassName
{
border-color: #152A43;
}
.TagClassName
{
border-color: #152A43;
}
</style>