Shades of Midnight #2A3846
Tints of Midnight #2A3846
RGB
CMYK
RGB Variations
Color information
#2A3846 (or 0x2A3846) is known color: Midnight. HEX triplet: 2A, 38 and 46. RGB value is (42,56,70). Sum of RGB (Red+Green+Blue) = 42+56+70=168 (22% of max value = 765). Red value is 42 (16.80% from 255 or 25% from 168); Green value is 56 (22.27% from 255 or 33.33% from 168); Blue value is 70 (27.73% from 255 or 41.67% from 168); Max value from RGB is 70 - color contains mainly: blue. Hex color #2A3846 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #2A3846 is #D5C7B9. Grayscale: #353535. Windows color (decimal): -14010298 or 4601898. OLE color: 4601898.
HSL color Cylindrical-coordinate representation of color #2A3846: hue angle of 210º degrees, saturation: 0.25, lightness: 0.22%. HSV value (or HSB Brightness) of color is 0.27% and HSV saturation: 0.4%. Process color model (Four color, CMYK) of #2A3846 is Cyan = 0.40, Magento = 0.20, Yellow = 0 and Black (K on CMYK) = 0.73.
Color convert
| RGB | 42 | 56 | 70 | - |
| CMYK | 0.40 | 0.20 | 0 | 0.73 |
| HSL | 210º | 0.25% | 0.22% | - |
| HSV(B) | 210º | 0.4% | 0.27% | - |
| XYZ | 3.47 | 3.76 | 6.34 | - |
| YUV | 53.41 | 137.36 | 119.86 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 56 | 70 | 0.40 | 0.20 | 0 | 0.73 | 210 | 0.25 | 0.22 |
| Hex | 2A | 38 | 46 | 28 | 14 | 0 | 49 | D2 | 19 | 16 |
| Octal | 52 | 70 | 106 | 50 | 24 | 0 | 111 | 322 | 31 | 26 |
| Binary | 101010 | 111000 | 1000110 | 101000 | 10100 | 0 | 1001001 | 11010010 | 11001 | 10110 |
Color Harmonies of #2A3846
Complementary color
Monochromatic Colors of #2A3846
Black with #2A3846
Text Example
Text Example
White with #2A3846
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A3846; }
p { color: rgb(42,56,70); }
H1.HeaderClassName
{
color: #2A3846;
}
.AnyTagClassName
{
color: #2A3846;
}
</style>
background-color css
<style>
a { background-color: #2A3846; }
a { background-color: rgb(42,56,70); }
div.DivClassName
{
background-color: #2A3846;
}
.BgClassName
{
background-color: #2A3846;
}
</style>
border-color css
<style>
span { border-color: #2A3846; }
span { border-color: rgb(42,56,70); }
td.TdClassName
{
border-color: #2A3846;
}
.TagClassName
{
border-color: #2A3846;
}
</style>