Shades of Midnight #2A343F
Tints of Midnight #2A343F
RGB
CMYK
RGB Variations
Color information
#2A343F (or 0x2A343F) is known color: Midnight. HEX triplet: 2A, 34 and 3F. RGB value is (42,52,63). Sum of RGB (Red+Green+Blue) = 42+52+63=157 (20% of max value = 765). Red value is 42 (16.80% from 255 or 26.75% from 157); Green value is 52 (20.70% from 255 or 33.12% from 157); Blue value is 63 (25% from 255 or 40.13% from 157); Max value from RGB is 63 - color contains mainly: blue. Hex color #2A343F is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #2A343F is #D5CBC0. Grayscale: #323232. Windows color (decimal): -14011329 or 4142122. OLE color: 4142122.
HSL color Cylindrical-coordinate representation of color #2A343F: hue angle of 211.43º degrees, saturation: 0.2, lightness: 0.21%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.33%. Process color model (Four color, CMYK) of #2A343F is Cyan = 0.33, Magento = 0.17, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 42 | 52 | 63 | - |
| CMYK | 0.33 | 0.17 | 0 | 0.75 |
| HSL | 211.43º | 0.2% | 0.21% | - |
| HSV(B) | 211.43º | 0.33% | 0.25% | - |
| XYZ | 3.08 | 3.31 | 5.18 | - |
| YUV | 50.26 | 135.19 | 122.11 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 52 | 63 | 0.33 | 0.17 | 0 | 0.75 | 211.43 | 0.2 | 0.21 |
| Hex | 2A | 34 | 3F | 21 | 11 | 0 | 4B | D3 | 14 | 15 |
| Octal | 52 | 64 | 77 | 41 | 21 | 0 | 113 | 323 | 24 | 25 |
| Binary | 101010 | 110100 | 111111 | 100001 | 10001 | 0 | 1001011 | 11010011 | 10100 | 10101 |
Color Harmonies of #2A343F
Complementary color
Monochromatic Colors of #2A343F
Black with #2A343F
Text Example
Text Example
White with #2A343F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A343F; }
p { color: rgb(42,52,63); }
H1.HeaderClassName
{
color: #2A343F;
}
.AnyTagClassName
{
color: #2A343F;
}
</style>
background-color css
<style>
a { background-color: #2A343F; }
a { background-color: rgb(42,52,63); }
div.DivClassName
{
background-color: #2A343F;
}
.BgClassName
{
background-color: #2A343F;
}
</style>
border-color css
<style>
span { border-color: #2A343F; }
span { border-color: rgb(42,52,63); }
td.TdClassName
{
border-color: #2A343F;
}
.TagClassName
{
border-color: #2A343F;
}
</style>