Shades of Midnight #28313B
Tints of Midnight #28313B
RGB
CMYK
RGB Variations
Color information
#28313B (or 0x28313B) is known color: Midnight. HEX triplet: 28, 31 and 3B. RGB value is (40,49,59). Sum of RGB (Red+Green+Blue) = 40+49+59=148 (19% of max value = 765). Red value is 40 (16.02% from 255 or 27.03% from 148); Green value is 49 (19.53% from 255 or 33.11% from 148); Blue value is 59 (23.44% from 255 or 39.86% from 148); Max value from RGB is 59 - color contains mainly: blue. Hex color #28313B is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #28313B is #D7CEC4. Grayscale: #2F2F2F. Windows color (decimal): -14143173 or 3879208. OLE color: 3879208.
HSL color Cylindrical-coordinate representation of color #28313B: hue angle of 211.58º degrees, saturation: 0.19, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.23% and HSV saturation: 0.32%. Process color model (Four color, CMYK) of #28313B is Cyan = 0.32, Magento = 0.17, Yellow = 0 and Black (K on CMYK) = 0.77.
Color convert
| RGB | 40 | 49 | 59 | - |
| CMYK | 0.32 | 0.17 | 0 | 0.77 |
| HSL | 211.58º | 0.19% | 0.19% | - |
| HSV(B) | 211.58º | 0.32% | 0.23% | - |
| XYZ | 2.76 | 2.96 | 4.56 | - |
| YUV | 47.45 | 134.52 | 122.69 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 49 | 59 | 0.32 | 0.17 | 0 | 0.77 | 211.58 | 0.19 | 0.19 |
| Hex | 28 | 31 | 3B | 20 | 11 | 0 | 4D | D4 | 13 | 13 |
| Octal | 50 | 61 | 73 | 40 | 21 | 0 | 115 | 324 | 23 | 23 |
| Binary | 101000 | 110001 | 111011 | 100000 | 10001 | 0 | 1001101 | 11010100 | 10011 | 10011 |
Color Harmonies of #28313B
Complementary color
Monochromatic Colors of #28313B
Black with #28313B
Text Example
Text Example
White with #28313B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28313B; }
p { color: rgb(40,49,59); }
H1.HeaderClassName
{
color: #28313B;
}
.AnyTagClassName
{
color: #28313B;
}
</style>
background-color css
<style>
a { background-color: #28313B; }
a { background-color: rgb(40,49,59); }
div.DivClassName
{
background-color: #28313B;
}
.BgClassName
{
background-color: #28313B;
}
</style>
border-color css
<style>
span { border-color: #28313B; }
span { border-color: rgb(40,49,59); }
td.TdClassName
{
border-color: #28313B;
}
.TagClassName
{
border-color: #28313B;
}
</style>