Shades of Violent Violet #2A1257
Tints of Violent Violet #2A1257
RGB
CMYK
RGB Variations
Color information
#2A1257 (or 0x2A1257) is known color: Violent Violet. HEX triplet: 2A, 12 and 57. RGB value is (42,18,87). Sum of RGB (Red+Green+Blue) = 42+18+87=147 (19% of max value = 765). Red value is 42 (16.80% from 255 or 28.57% from 147); Green value is 18 (7.42% from 255 or 12.24% from 147); Blue value is 87 (34.38% from 255 or 59.18% from 147); Max value from RGB is 87 - color contains mainly: blue. Hex color #2A1257 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #2A1257 is #D5EDA8. Grayscale: #202020. Windows color (decimal): -14020009 or 5706282. OLE color: 5706282.
HSL color Cylindrical-coordinate representation of color #2A1257: hue angle of 260.87º degrees, saturation: 0.66, lightness: 0.21%. HSV value (or HSB Brightness) of color is 0.34% and HSV saturation: 0.79%. Process color model (Four color, CMYK) of #2A1257 is Cyan = 0.52, Magento = 0.79, Yellow = 0 and Black (K on CMYK) = 0.66.
Color convert
| RGB | 42 | 18 | 87 | - |
| CMYK | 0.52 | 0.79 | 0 | 0.66 |
| HSL | 260.87º | 0.66% | 0.21% | - |
| HSV(B) | 260.87º | 0.79% | 0.34% | - |
| XYZ | 2.89 | 1.61 | 9.18 | - |
| YUV | 33.04 | 158.45 | 134.39 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 18 | 87 | 0.52 | 0.79 | 0 | 0.66 | 260.87 | 0.66 | 0.21 |
| Hex | 2A | 12 | 57 | 34 | 4F | 0 | 42 | 105 | 42 | 15 |
| Octal | 52 | 22 | 127 | 64 | 117 | 0 | 102 | 405 | 102 | 25 |
| Binary | 101010 | 10010 | 1010111 | 110100 | 1001111 | 0 | 1000010 | 100000101 | 1000010 | 10101 |
Color Harmonies of #2A1257
Complementary color
Monochromatic Colors of #2A1257
Black with #2A1257
Text Example
Text Example
White with #2A1257
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A1257; }
p { color: rgb(42,18,87); }
H1.HeaderClassName
{
color: #2A1257;
}
.AnyTagClassName
{
color: #2A1257;
}
</style>
background-color css
<style>
a { background-color: #2A1257; }
a { background-color: rgb(42,18,87); }
div.DivClassName
{
background-color: #2A1257;
}
.BgClassName
{
background-color: #2A1257;
}
</style>
border-color css
<style>
span { border-color: #2A1257; }
span { border-color: rgb(42,18,87); }
td.TdClassName
{
border-color: #2A1257;
}
.TagClassName
{
border-color: #2A1257;
}
</style>