Shades of Midnight #2A323A
Tints of Midnight #2A323A
RGB
CMYK
RGB Variations
Color information
#2A323A (or 0x2A323A) is known color: Midnight. HEX triplet: 2A, 32 and 3A. RGB value is (42,50,58). Sum of RGB (Red+Green+Blue) = 42+50+58=150 (19% of max value = 765). Red value is 42 (16.80% from 255 or 28% from 150); Green value is 50 (19.92% from 255 or 33.33% from 150); Blue value is 58 (23.05% from 255 or 38.67% from 150); Max value from RGB is 58 - color contains mainly: blue. Hex color #2A323A is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #2A323A is #D5CDC5. Grayscale: #303030. Windows color (decimal): -14011846 or 3813930. OLE color: 3813930.
HSL color Cylindrical-coordinate representation of color #2A323A: hue angle of 210º degrees, saturation: 0.16, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.23% and HSV saturation: 0.28%. Process color model (Four color, CMYK) of #2A323A is Cyan = 0.28, Magento = 0.14, Yellow = 0 and Black (K on CMYK) = 0.77.
Color convert
| RGB | 42 | 50 | 58 | - |
| CMYK | 0.28 | 0.14 | 0 | 0.77 |
| HSL | 210º | 0.16% | 0.2% | - |
| HSV(B) | 210º | 0.28% | 0.23% | - |
| XYZ | 2.86 | 3.08 | 4.45 | - |
| YUV | 48.52 | 133.35 | 123.35 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 50 | 58 | 0.28 | 0.14 | 0 | 0.77 | 210 | 0.16 | 0.2 |
| Hex | 2A | 32 | 3A | 1C | E | 0 | 4D | D2 | 10 | 14 |
| Octal | 52 | 62 | 72 | 34 | 16 | 0 | 115 | 322 | 20 | 24 |
| Binary | 101010 | 110010 | 111010 | 11100 | 1110 | 0 | 1001101 | 11010010 | 10000 | 10100 |
Color Harmonies of #2A323A
Complementary color
Monochromatic Colors of #2A323A
Black with #2A323A
Text Example
Text Example
White with #2A323A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A323A; }
p { color: rgb(42,50,58); }
H1.HeaderClassName
{
color: #2A323A;
}
.AnyTagClassName
{
color: #2A323A;
}
</style>
background-color css
<style>
a { background-color: #2A323A; }
a { background-color: rgb(42,50,58); }
div.DivClassName
{
background-color: #2A323A;
}
.BgClassName
{
background-color: #2A323A;
}
</style>
border-color css
<style>
span { border-color: #2A323A; }
span { border-color: rgb(42,50,58); }
td.TdClassName
{
border-color: #2A323A;
}
.TagClassName
{
border-color: #2A323A;
}
</style>