Shades of Dark Slate Grey #2A5157
Tints of Dark Slate Grey #2A5157
RGB
CMYK
RGB Variations
Color information
#2A5157 (or 0x2A5157) is known color: Dark Slate Grey. HEX triplet: 2A, 51 and 57. RGB value is (42,81,87). Sum of RGB (Red+Green+Blue) = 42+81+87=210 (27% of max value = 765). Red value is 42 (16.80% from 255 or 20% from 210); Green value is 81 (32.03% from 255 or 38.57% from 210); Blue value is 87 (34.38% from 255 or 41.43% from 210); Max value from RGB is 87 - color contains mainly: blue. Hex color #2A5157 is not a web safe color. Web safe color analog (approx): #336666. Inversed color of #2A5157 is #D5AEA8. Grayscale: #454545. Windows color (decimal): -14003881 or 5722410. OLE color: 5722410.
HSL color Cylindrical-coordinate representation of color #2A5157: hue angle of 188º degrees, saturation: 0.35, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.34% and HSV saturation: 0.52%. Process color model (Four color, CMYK) of #2A5157 is Cyan = 0.52, Magento = 0.07, Yellow = 0 and Black (K on CMYK) = 0.66.
Color convert
| RGB | 42 | 81 | 87 | - |
| CMYK | 0.52 | 0.07 | 0 | 0.66 |
| HSL | 188º | 0.35% | 0.25% | - |
| HSV(B) | 188º | 0.52% | 0.34% | - |
| XYZ | 5.62 | 7.07 | 10.08 | - |
| YUV | 70.02 | 137.58 | 108.01 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 81 | 87 | 0.52 | 0.07 | 0 | 0.66 | 188 | 0.35 | 0.25 |
| Hex | 2A | 51 | 57 | 34 | 7 | 0 | 42 | BC | 23 | 19 |
| Octal | 52 | 121 | 127 | 64 | 7 | 0 | 102 | 274 | 43 | 31 |
| Binary | 101010 | 1010001 | 1010111 | 110100 | 111 | 0 | 1000010 | 10111100 | 100011 | 11001 |
Color Harmonies of #2A5157
Complementary color
Monochromatic Colors of #2A5157
Black with #2A5157
Text Example
Text Example
White with #2A5157
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A5157; }
p { color: rgb(42,81,87); }
H1.HeaderClassName
{
color: #2A5157;
}
.AnyTagClassName
{
color: #2A5157;
}
</style>
background-color css
<style>
a { background-color: #2A5157; }
a { background-color: rgb(42,81,87); }
div.DivClassName
{
background-color: #2A5157;
}
.BgClassName
{
background-color: #2A5157;
}
</style>
border-color css
<style>
span { border-color: #2A5157; }
span { border-color: rgb(42,81,87); }
td.TdClassName
{
border-color: #2A5157;
}
.TagClassName
{
border-color: #2A5157;
}
</style>