Shades of Affair #7E5198
Tints of Affair #7E5198
RGB
CMYK
RGB Variations
Color information
#7E5198 (or 0x7E5198) is known color: Affair. HEX triplet: 7E, 51 and 98. RGB value is (126,81,152). Sum of RGB (Red+Green+Blue) = 126+81+152=359 (47% of max value = 765). Red value is 126 (49.61% from 255 or 35.10% from 359); Green value is 81 (32.03% from 255 or 22.56% from 359); Blue value is 152 (59.77% from 255 or 42.34% from 359); Max value from RGB is 152 - color contains mainly: blue. Hex color #7E5198 is not a web safe color. Web safe color analog (approx): #666699. Inversed color of #7E5198 is #81AE67. Grayscale: #666666. Windows color (decimal): -8498792 or 9982334. OLE color: 9982334.
HSL color Cylindrical-coordinate representation of color #7E5198: hue angle of 278.03º degrees, saturation: 0.3, lightness: 0.46%. HSV value (or HSB Brightness) of color is 0.6% and HSV saturation: 0.47%. Process color model (Four color, CMYK) of #7E5198 is Cyan = 0.17, Magento = 0.47, Yellow = 0 and Black (K on CMYK) = 0.40.
Color convert
| RGB | 126 | 81 | 152 | - |
| CMYK | 0.17 | 0.47 | 0 | 0.40 |
| HSL | 278.03º | 0.3% | 0.46% | - |
| HSV(B) | 278.03º | 0.47% | 0.6% | - |
| XYZ | 17.21 | 12.59 | 31.23 | - |
| YUV | 102.55 | 155.91 | 144.73 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 126 | 81 | 152 | 0.17 | 0.47 | 0 | 0.40 | 278.03 | 0.3 | 0.46 |
| Hex | 7E | 51 | 98 | 11 | 2F | 0 | 28 | 116 | 1E | 2E |
| Octal | 176 | 121 | 230 | 21 | 57 | 0 | 50 | 426 | 36 | 56 |
| Binary | 1111110 | 1010001 | 10011000 | 10001 | 101111 | 0 | 101000 | 100010110 | 11110 | 101110 |
Color Harmonies of #7E5198
Complementary color
Monochromatic Colors of #7E5198
Black with #7E5198
Text Example
Text Example
White with #7E5198
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #7E5198; }
p { color: rgb(126,81,152); }
H1.HeaderClassName
{
color: #7E5198;
}
.AnyTagClassName
{
color: #7E5198;
}
</style>
background-color css
<style>
a { background-color: #7E5198; }
a { background-color: rgb(126,81,152); }
div.DivClassName
{
background-color: #7E5198;
}
.BgClassName
{
background-color: #7E5198;
}
</style>
border-color css
<style>
span { border-color: #7E5198; }
span { border-color: rgb(126,81,152); }
td.TdClassName
{
border-color: #7E5198;
}
.TagClassName
{
border-color: #7E5198;
}
</style>