Shades of Midnight #203040
Tints of Midnight #203040
RGB
CMYK
RGB Variations
Color information
#203040 (or 0x203040) is known color: Midnight. HEX triplet: 20, 30 and 40. RGB value is (32,48,64). Sum of RGB (Red+Green+Blue) = 32+48+64=144 (19% of max value = 765). Red value is 32 (12.89% from 255 or 22.22% from 144); Green value is 48 (19.14% from 255 or 33.33% from 144); Blue value is 64 (25.39% from 255 or 44.44% from 144); Max value from RGB is 64 - color contains mainly: blue. Hex color #203040 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #203040 is #DFCFBF. Grayscale: #2C2C2C. Windows color (decimal): -14667712 or 4206624. OLE color: 4206624.
HSL color Cylindrical-coordinate representation of color #203040: hue angle of 210º degrees, saturation: 0.33, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.5%. Process color model (Four color, CMYK) of #203040 is Cyan = 0.50, Magento = 0.25, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 32 | 48 | 64 | - |
| CMYK | 0.50 | 0.25 | 0 | 0.75 |
| HSL | 210º | 0.33% | 0.19% | - |
| HSV(B) | 210º | 0.5% | 0.25% | - |
| XYZ | 2.58 | 2.79 | 5.25 | - |
| YUV | 45.04 | 138.7 | 118.7 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 32 | 48 | 64 | 0.50 | 0.25 | 0 | 0.75 | 210 | 0.33 | 0.19 |
| Hex | 20 | 30 | 40 | 32 | 19 | 0 | 4B | D2 | 21 | 13 |
| Octal | 40 | 60 | 100 | 62 | 31 | 0 | 113 | 322 | 41 | 23 |
| Binary | 100000 | 110000 | 1000000 | 110010 | 11001 | 0 | 1001011 | 11010010 | 100001 | 10011 |
Color Harmonies of #203040
Complementary color
Monochromatic Colors of #203040
Black with #203040
Text Example
Text Example
White with #203040
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #203040; }
p { color: rgb(32,48,64); }
H1.HeaderClassName
{
color: #203040;
}
.AnyTagClassName
{
color: #203040;
}
</style>
background-color css
<style>
a { background-color: #203040; }
a { background-color: rgb(32,48,64); }
div.DivClassName
{
background-color: #203040;
}
.BgClassName
{
background-color: #203040;
}
</style>
border-color css
<style>
span { border-color: #203040; }
span { border-color: rgb(32,48,64); }
td.TdClassName
{
border-color: #203040;
}
.TagClassName
{
border-color: #203040;
}
</style>