Shades of Affair #7F5998
Tints of Affair #7F5998
RGB
CMYK
RGB Variations
Color information
#7F5998 (or 0x7F5998) is known color: Affair. HEX triplet: 7F, 59 and 98. RGB value is (127,89,152). Sum of RGB (Red+Green+Blue) = 127+89+152=368 (48% of max value = 765). Red value is 127 (50% from 255 or 34.51% from 368); Green value is 89 (35.16% from 255 or 24.18% from 368); Blue value is 152 (59.77% from 255 or 41.30% from 368); Max value from RGB is 152 - color contains mainly: blue. Hex color #7F5998 is not a web safe color. Web safe color analog (approx): #666699. Inversed color of #7F5998 is #80A667. Grayscale: #6B6B6B. Windows color (decimal): -8431208 or 9984383. OLE color: 9984383.
HSL color Cylindrical-coordinate representation of color #7F5998: hue angle of 276.19º degrees, saturation: 0.26, lightness: 0.47%. HSV value (or HSB Brightness) of color is 0.6% and HSV saturation: 0.41%. Process color model (Four color, CMYK) of #7F5998 is Cyan = 0.16, Magento = 0.41, Yellow = 0 and Black (K on CMYK) = 0.40.
Color convert
| RGB | 127 | 89 | 152 | - |
| CMYK | 0.16 | 0.41 | 0 | 0.40 |
| HSL | 276.19º | 0.26% | 0.47% | - |
| HSV(B) | 276.19º | 0.41% | 0.6% | - |
| XYZ | 17.99 | 13.92 | 31.45 | - |
| YUV | 107.54 | 153.09 | 141.88 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 127 | 89 | 152 | 0.16 | 0.41 | 0 | 0.40 | 276.19 | 0.26 | 0.47 |
| Hex | 7F | 59 | 98 | 10 | 29 | 0 | 28 | 114 | 1A | 2F |
| Octal | 177 | 131 | 230 | 20 | 51 | 0 | 50 | 424 | 32 | 57 |
| Binary | 1111111 | 1011001 | 10011000 | 10000 | 101001 | 0 | 101000 | 100010100 | 11010 | 101111 |
Color Harmonies of #7F5998
Complementary color
Monochromatic Colors of #7F5998
Black with #7F5998
Text Example
Text Example
White with #7F5998
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #7F5998; }
p { color: rgb(127,89,152); }
H1.HeaderClassName
{
color: #7F5998;
}
.AnyTagClassName
{
color: #7F5998;
}
</style>
background-color css
<style>
a { background-color: #7F5998; }
a { background-color: rgb(127,89,152); }
div.DivClassName
{
background-color: #7F5998;
}
.BgClassName
{
background-color: #7F5998;
}
</style>
border-color css
<style>
span { border-color: #7F5998; }
span { border-color: rgb(127,89,152); }
td.TdClassName
{
border-color: #7F5998;
}
.TagClassName
{
border-color: #7F5998;
}
</style>