Shades of Midnight #142540
Tints of Midnight #142540
RGB
CMYK
RGB Variations
Color information
#142540 (or 0x142540) is known color: Midnight. HEX triplet: 14, 25 and 40. RGB value is (20,37,64). Sum of RGB (Red+Green+Blue) = 20+37+64=121 (16% of max value = 765). Red value is 20 (8.20% from 255 or 16.53% from 121); Green value is 37 (14.84% from 255 or 30.58% from 121); Blue value is 64 (25.39% from 255 or 52.89% from 121); Max value from RGB is 64 - color contains mainly: blue. Hex color #142540 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #142540 is #EBDABF. Grayscale: #222222. Windows color (decimal): -15456960 or 4203796. OLE color: 4203796.
HSL color Cylindrical-coordinate representation of color #142540: hue angle of 216.82º degrees, saturation: 0.52, lightness: 0.16%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.69%. Process color model (Four color, CMYK) of #142540 is Cyan = 0.69, Magento = 0.42, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 20 | 37 | 64 | - |
| CMYK | 0.69 | 0.42 | 0 | 0.75 |
| HSL | 216.82º | 0.52% | 0.16% | - |
| HSV(B) | 216.82º | 0.69% | 0.25% | - |
| XYZ | 1.88 | 1.84 | 5.11 | - |
| YUV | 35 | 144.37 | 117.3 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 20 | 37 | 64 | 0.69 | 0.42 | 0 | 0.75 | 216.82 | 0.52 | 0.16 |
| Hex | 14 | 25 | 40 | 45 | 2A | 0 | 4B | D9 | 34 | 10 |
| Octal | 24 | 45 | 100 | 105 | 52 | 0 | 113 | 331 | 64 | 20 |
| Binary | 10100 | 100101 | 1000000 | 1000101 | 101010 | 0 | 1001011 | 11011001 | 110100 | 10000 |
Color Harmonies of #142540
Complementary color
Monochromatic Colors of #142540
Black with #142540
Text Example
Text Example
White with #142540
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #142540; }
p { color: rgb(20,37,64); }
H1.HeaderClassName
{
color: #142540;
}
.AnyTagClassName
{
color: #142540;
}
</style>
background-color css
<style>
a { background-color: #142540; }
a { background-color: rgb(20,37,64); }
div.DivClassName
{
background-color: #142540;
}
.BgClassName
{
background-color: #142540;
}
</style>
border-color css
<style>
span { border-color: #142540; }
span { border-color: rgb(20,37,64); }
td.TdClassName
{
border-color: #142540;
}
.TagClassName
{
border-color: #142540;
}
</style>