Shades of Affair #7F5797
Tints of Affair #7F5797
RGB
CMYK
RGB Variations
Color information
#7F5797 (or 0x7F5797) is known color: Affair. HEX triplet: 7F, 57 and 97. RGB value is (127,87,151). Sum of RGB (Red+Green+Blue) = 127+87+151=365 (48% of max value = 765). Red value is 127 (50% from 255 or 34.79% from 365); Green value is 87 (34.38% from 255 or 23.84% from 365); Blue value is 151 (59.38% from 255 or 41.37% from 365); Max value from RGB is 151 - color contains mainly: blue. Hex color #7F5797 is not a web safe color. Web safe color analog (approx): #666699. Inversed color of #7F5797 is #80A868. Grayscale: #6A6A6A. Windows color (decimal): -8431721 or 9918335. OLE color: 9918335.
HSL color Cylindrical-coordinate representation of color #7F5797: hue angle of 277.5º degrees, saturation: 0.27, lightness: 0.47%. HSV value (or HSB Brightness) of color is 0.59% and HSV saturation: 0.42%. Process color model (Four color, CMYK) of #7F5797 is Cyan = 0.16, Magento = 0.42, Yellow = 0 and Black (K on CMYK) = 0.41.
Color convert
| RGB | 127 | 87 | 151 | - |
| CMYK | 0.16 | 0.42 | 0 | 0.41 |
| HSL | 277.5º | 0.27% | 0.47% | - |
| HSV(B) | 277.5º | 0.42% | 0.59% | - |
| XYZ | 17.75 | 13.56 | 30.96 | - |
| YUV | 106.26 | 153.25 | 142.8 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 127 | 87 | 151 | 0.16 | 0.42 | 0 | 0.41 | 277.5 | 0.27 | 0.47 |
| Hex | 7F | 57 | 97 | 10 | 2A | 0 | 29 | 116 | 1B | 2F |
| Octal | 177 | 127 | 227 | 20 | 52 | 0 | 51 | 426 | 33 | 57 |
| Binary | 1111111 | 1010111 | 10010111 | 10000 | 101010 | 0 | 101001 | 100010110 | 11011 | 101111 |
Color Harmonies of #7F5797
Complementary color
Monochromatic Colors of #7F5797
Black with #7F5797
Text Example
Text Example
White with #7F5797
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #7F5797; }
p { color: rgb(127,87,151); }
H1.HeaderClassName
{
color: #7F5797;
}
.AnyTagClassName
{
color: #7F5797;
}
</style>
background-color css
<style>
a { background-color: #7F5797; }
a { background-color: rgb(127,87,151); }
div.DivClassName
{
background-color: #7F5797;
}
.BgClassName
{
background-color: #7F5797;
}
</style>
border-color css
<style>
span { border-color: #7F5797; }
span { border-color: rgb(127,87,151); }
td.TdClassName
{
border-color: #7F5797;
}
.TagClassName
{
border-color: #7F5797;
}
</style>