Shades of Affair #7E5C97
Tints of Affair #7E5C97
RGB
CMYK
RGB Variations
Color information
#7E5C97 (or 0x7E5C97) is known color: Affair. HEX triplet: 7E, 5C and 97. RGB value is (126,92,151). Sum of RGB (Red+Green+Blue) = 126+92+151=369 (48% of max value = 765). Red value is 126 (49.61% from 255 or 34.15% from 369); Green value is 92 (36.33% from 255 or 24.93% from 369); Blue value is 151 (59.38% from 255 or 40.92% from 369); Max value from RGB is 151 - color contains mainly: blue. Hex color #7E5C97 is not a web safe color. Web safe color analog (approx): #666699. Inversed color of #7E5C97 is #81A368. Grayscale: #6C6C6C. Windows color (decimal): -8495977 or 9919614. OLE color: 9919614.
HSL color Cylindrical-coordinate representation of color #7E5C97: hue angle of 274.58º degrees, saturation: 0.24, lightness: 0.48%. HSV value (or HSB Brightness) of color is 0.59% and HSV saturation: 0.39%. Process color model (Four color, CMYK) of #7E5C97 is Cyan = 0.17, Magento = 0.39, Yellow = 0 and Black (K on CMYK) = 0.41.
Color convert
| RGB | 126 | 92 | 151 | - |
| CMYK | 0.17 | 0.39 | 0 | 0.41 |
| HSL | 274.58º | 0.24% | 0.48% | - |
| HSV(B) | 274.58º | 0.39% | 0.59% | - |
| XYZ | 18.02 | 14.32 | 31.09 | - |
| YUV | 108.89 | 151.76 | 140.2 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 126 | 92 | 151 | 0.17 | 0.39 | 0 | 0.41 | 274.58 | 0.24 | 0.48 |
| Hex | 7E | 5C | 97 | 11 | 27 | 0 | 29 | 113 | 18 | 30 |
| Octal | 176 | 134 | 227 | 21 | 47 | 0 | 51 | 423 | 30 | 60 |
| Binary | 1111110 | 1011100 | 10010111 | 10001 | 100111 | 0 | 101001 | 100010011 | 11000 | 110000 |
Color Harmonies of #7E5C97
Complementary color
Monochromatic Colors of #7E5C97
Black with #7E5C97
Text Example
Text Example
White with #7E5C97
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #7E5C97; }
p { color: rgb(126,92,151); }
H1.HeaderClassName
{
color: #7E5C97;
}
.AnyTagClassName
{
color: #7E5C97;
}
</style>
background-color css
<style>
a { background-color: #7E5C97; }
a { background-color: rgb(126,92,151); }
div.DivClassName
{
background-color: #7E5C97;
}
.BgClassName
{
background-color: #7E5C97;
}
</style>
border-color css
<style>
span { border-color: #7E5C97; }
span { border-color: rgb(126,92,151); }
td.TdClassName
{
border-color: #7E5C97;
}
.TagClassName
{
border-color: #7E5C97;
}
</style>