Shades of Midnight Express #152540
Tints of Midnight Express #152540
RGB
CMYK
RGB Variations
Color information
#152540 (or 0x152540) is known color: Midnight Express. HEX triplet: 15, 25 and 40. RGB value is (21,37,64). Sum of RGB (Red+Green+Blue) = 21+37+64=122 (16% of max value = 765). Red value is 21 (8.59% from 255 or 17.21% from 122); Green value is 37 (14.84% from 255 or 30.33% from 122); Blue value is 64 (25.39% from 255 or 52.46% from 122); Max value from RGB is 64 - color contains mainly: blue. Hex color #152540 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #152540 is #EADABF. Grayscale: #232323. Windows color (decimal): -15391424 or 4203797. OLE color: 4203797.
HSL color Cylindrical-coordinate representation of color #152540: hue angle of 217.67º degrees, saturation: 0.51, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.67%. Process color model (Four color, CMYK) of #152540 is Cyan = 0.67, Magento = 0.42, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 21 | 37 | 64 | - |
| CMYK | 0.67 | 0.42 | 0 | 0.75 |
| HSL | 217.67º | 0.51% | 0.17% | - |
| HSV(B) | 217.67º | 0.67% | 0.25% | - |
| XYZ | 1.9 | 1.85 | 5.11 | - |
| YUV | 35.29 | 144.2 | 117.8 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 37 | 64 | 0.67 | 0.42 | 0 | 0.75 | 217.67 | 0.51 | 0.17 |
| Hex | 15 | 25 | 40 | 43 | 2A | 0 | 4B | DA | 33 | 11 |
| Octal | 25 | 45 | 100 | 103 | 52 | 0 | 113 | 332 | 63 | 21 |
| Binary | 10101 | 100101 | 1000000 | 1000011 | 101010 | 0 | 1001011 | 11011010 | 110011 | 10001 |
Color Harmonies of #152540
Complementary color
Monochromatic Colors of #152540
Black with #152540
Text Example
Text Example
White with #152540
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152540; }
p { color: rgb(21,37,64); }
H1.HeaderClassName
{
color: #152540;
}
.AnyTagClassName
{
color: #152540;
}
</style>
background-color css
<style>
a { background-color: #152540; }
a { background-color: rgb(21,37,64); }
div.DivClassName
{
background-color: #152540;
}
.BgClassName
{
background-color: #152540;
}
</style>
border-color css
<style>
span { border-color: #152540; }
span { border-color: rgb(21,37,64); }
td.TdClassName
{
border-color: #152540;
}
.TagClassName
{
border-color: #152540;
}
</style>