Shades of Midnight #28313C
Tints of Midnight #28313C
RGB
CMYK
RGB Variations
Color information
#28313C (or 0x28313C) is known color: Midnight. HEX triplet: 28, 31 and 3C. RGB value is (40,49,60). Sum of RGB (Red+Green+Blue) = 40+49+60=149 (19% of max value = 765). Red value is 40 (16.02% from 255 or 26.85% from 149); Green value is 49 (19.53% from 255 or 32.89% from 149); Blue value is 60 (23.83% from 255 or 40.27% from 149); Max value from RGB is 60 - color contains mainly: blue. Hex color #28313C is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #28313C is #D7CEC3. Grayscale: #2F2F2F. Windows color (decimal): -14143172 or 3944744. OLE color: 3944744.
HSL color Cylindrical-coordinate representation of color #28313C: hue angle of 213º degrees, saturation: 0.2, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.24% and HSV saturation: 0.33%. Process color model (Four color, CMYK) of #28313C is Cyan = 0.33, Magento = 0.18, Yellow = 0 and Black (K on CMYK) = 0.76.
Color convert
| RGB | 40 | 49 | 60 | - |
| CMYK | 0.33 | 0.18 | 0 | 0.76 |
| HSL | 213º | 0.2% | 0.2% | - |
| HSV(B) | 213º | 0.33% | 0.24% | - |
| XYZ | 2.79 | 2.97 | 4.7 | - |
| YUV | 47.56 | 135.02 | 122.61 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 49 | 60 | 0.33 | 0.18 | 0 | 0.76 | 213 | 0.2 | 0.2 |
| Hex | 28 | 31 | 3C | 21 | 12 | 0 | 4C | D5 | 14 | 14 |
| Octal | 50 | 61 | 74 | 41 | 22 | 0 | 114 | 325 | 24 | 24 |
| Binary | 101000 | 110001 | 111100 | 100001 | 10010 | 0 | 1001100 | 11010101 | 10100 | 10100 |
Color Harmonies of #28313C
Complementary color
Monochromatic Colors of #28313C
Black with #28313C
Text Example
Text Example
White with #28313C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28313C; }
p { color: rgb(40,49,60); }
H1.HeaderClassName
{
color: #28313C;
}
.AnyTagClassName
{
color: #28313C;
}
</style>
background-color css
<style>
a { background-color: #28313C; }
a { background-color: rgb(40,49,60); }
div.DivClassName
{
background-color: #28313C;
}
.BgClassName
{
background-color: #28313C;
}
</style>
border-color css
<style>
span { border-color: #28313C; }
span { border-color: rgb(40,49,60); }
td.TdClassName
{
border-color: #28313C;
}
.TagClassName
{
border-color: #28313C;
}
</style>