Shades of Affair #7E5197
Tints of Affair #7E5197
RGB
CMYK
RGB Variations
Color information
#7E5197 (or 0x7E5197) is known color: Affair. HEX triplet: 7E, 51 and 97. RGB value is (126,81,151). Sum of RGB (Red+Green+Blue) = 126+81+151=358 (47% of max value = 765). Red value is 126 (49.61% from 255 or 35.20% from 358); Green value is 81 (32.03% from 255 or 22.63% from 358); Blue value is 151 (59.38% from 255 or 42.18% from 358); Max value from RGB is 151 - color contains mainly: blue. Hex color #7E5197 is not a web safe color. Web safe color analog (approx): #666699. Inversed color of #7E5197 is #81AE68. Grayscale: #666666. Windows color (decimal): -8498793 or 9916798. OLE color: 9916798.
HSL color Cylindrical-coordinate representation of color #7E5197: hue angle of 278.57º degrees, saturation: 0.3, lightness: 0.45%. HSV value (or HSB Brightness) of color is 0.59% and HSV saturation: 0.46%. Process color model (Four color, CMYK) of #7E5197 is Cyan = 0.17, Magento = 0.46, Yellow = 0 and Black (K on CMYK) = 0.41.
Color convert
| RGB | 126 | 81 | 151 | - |
| CMYK | 0.17 | 0.46 | 0 | 0.41 |
| HSL | 278.57º | 0.3% | 0.45% | - |
| HSV(B) | 278.57º | 0.46% | 0.59% | - |
| XYZ | 17.13 | 12.55 | 30.8 | - |
| YUV | 102.44 | 155.41 | 144.81 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 126 | 81 | 151 | 0.17 | 0.46 | 0 | 0.41 | 278.57 | 0.3 | 0.45 |
| Hex | 7E | 51 | 97 | 11 | 2E | 0 | 29 | 117 | 1E | 2D |
| Octal | 176 | 121 | 227 | 21 | 56 | 0 | 51 | 427 | 36 | 55 |
| Binary | 1111110 | 1010001 | 10010111 | 10001 | 101110 | 0 | 101001 | 100010111 | 11110 | 101101 |
Color Harmonies of #7E5197
Complementary color
Monochromatic Colors of #7E5197
Black with #7E5197
Text Example
Text Example
White with #7E5197
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #7E5197; }
p { color: rgb(126,81,151); }
H1.HeaderClassName
{
color: #7E5197;
}
.AnyTagClassName
{
color: #7E5197;
}
</style>
background-color css
<style>
a { background-color: #7E5197; }
a { background-color: rgb(126,81,151); }
div.DivClassName
{
background-color: #7E5197;
}
.BgClassName
{
background-color: #7E5197;
}
</style>
border-color css
<style>
span { border-color: #7E5197; }
span { border-color: rgb(126,81,151); }
td.TdClassName
{
border-color: #7E5197;
}
.TagClassName
{
border-color: #7E5197;
}
</style>