Shades of Affair #7E5D97
Tints of Affair #7E5D97
RGB
CMYK
RGB Variations
Color information
#7E5D97 (or 0x7E5D97) is known color: Affair. HEX triplet: 7E, 5D and 97. RGB value is (126,93,151). Sum of RGB (Red+Green+Blue) = 126+93+151=370 (49% of max value = 765). Red value is 126 (49.61% from 255 or 34.05% from 370); Green value is 93 (36.72% from 255 or 25.14% from 370); Blue value is 151 (59.38% from 255 or 40.81% from 370); Max value from RGB is 151 - color contains mainly: blue. Hex color #7E5D97 is not a web safe color. Web safe color analog (approx): #666699. Inversed color of #7E5D97 is #81A268. Grayscale: #6D6D6D. Windows color (decimal): -8495721 or 9919870. OLE color: 9919870.
HSL color Cylindrical-coordinate representation of color #7E5D97: hue angle of 274.14º degrees, saturation: 0.24, lightness: 0.48%. HSV value (or HSB Brightness) of color is 0.59% and HSV saturation: 0.38%. Process color model (Four color, CMYK) of #7E5D97 is Cyan = 0.17, Magento = 0.38, Yellow = 0 and Black (K on CMYK) = 0.41.
Color convert
| RGB | 126 | 93 | 151 | - |
| CMYK | 0.17 | 0.38 | 0 | 0.41 |
| HSL | 274.14º | 0.24% | 0.48% | - |
| HSV(B) | 274.14º | 0.38% | 0.59% | - |
| XYZ | 18.1 | 14.5 | 31.12 | - |
| YUV | 109.48 | 151.43 | 139.78 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 126 | 93 | 151 | 0.17 | 0.38 | 0 | 0.41 | 274.14 | 0.24 | 0.48 |
| Hex | 7E | 5D | 97 | 11 | 26 | 0 | 29 | 112 | 18 | 30 |
| Octal | 176 | 135 | 227 | 21 | 46 | 0 | 51 | 422 | 30 | 60 |
| Binary | 1111110 | 1011101 | 10010111 | 10001 | 100110 | 0 | 101001 | 100010010 | 11000 | 110000 |
Color Harmonies of #7E5D97
Complementary color
Monochromatic Colors of #7E5D97
Black with #7E5D97
Text Example
Text Example
White with #7E5D97
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #7E5D97; }
p { color: rgb(126,93,151); }
H1.HeaderClassName
{
color: #7E5D97;
}
.AnyTagClassName
{
color: #7E5D97;
}
</style>
background-color css
<style>
a { background-color: #7E5D97; }
a { background-color: rgb(126,93,151); }
div.DivClassName
{
background-color: #7E5D97;
}
.BgClassName
{
background-color: #7E5D97;
}
</style>
border-color css
<style>
span { border-color: #7E5D97; }
span { border-color: rgb(126,93,151); }
td.TdClassName
{
border-color: #7E5D97;
}
.TagClassName
{
border-color: #7E5D97;
}
</style>