Shades of Affair #7F5798
Tints of Affair #7F5798
RGB
CMYK
RGB Variations
Color information
#7F5798 (or 0x7F5798) is known color: Affair. HEX triplet: 7F, 57 and 98. RGB value is (127,87,152). Sum of RGB (Red+Green+Blue) = 127+87+152=366 (48% of max value = 765). Red value is 127 (50% from 255 or 34.70% from 366); Green value is 87 (34.38% from 255 or 23.77% from 366); Blue value is 152 (59.77% from 255 or 41.53% from 366); Max value from RGB is 152 - color contains mainly: blue. Hex color #7F5798 is not a web safe color. Web safe color analog (approx): #666699. Inversed color of #7F5798 is #80A867. Grayscale: #6A6A6A. Windows color (decimal): -8431720 or 9983871. OLE color: 9983871.
HSL color Cylindrical-coordinate representation of color #7F5798: hue angle of 276.92º degrees, saturation: 0.27, lightness: 0.47%. HSV value (or HSB Brightness) of color is 0.6% and HSV saturation: 0.43%. Process color model (Four color, CMYK) of #7F5798 is Cyan = 0.16, Magento = 0.43, Yellow = 0 and Black (K on CMYK) = 0.40.
Color convert
| RGB | 127 | 87 | 152 | - |
| CMYK | 0.16 | 0.43 | 0 | 0.40 |
| HSL | 276.92º | 0.27% | 0.47% | - |
| HSV(B) | 276.92º | 0.43% | 0.6% | - |
| XYZ | 17.83 | 13.6 | 31.39 | - |
| YUV | 106.37 | 153.75 | 142.71 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 127 | 87 | 152 | 0.16 | 0.43 | 0 | 0.40 | 276.92 | 0.27 | 0.47 |
| Hex | 7F | 57 | 98 | 10 | 2B | 0 | 28 | 115 | 1B | 2F |
| Octal | 177 | 127 | 230 | 20 | 53 | 0 | 50 | 425 | 33 | 57 |
| Binary | 1111111 | 1010111 | 10011000 | 10000 | 101011 | 0 | 101000 | 100010101 | 11011 | 101111 |
Color Harmonies of #7F5798
Complementary color
Monochromatic Colors of #7F5798
Black with #7F5798
Text Example
Text Example
White with #7F5798
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #7F5798; }
p { color: rgb(127,87,152); }
H1.HeaderClassName
{
color: #7F5798;
}
.AnyTagClassName
{
color: #7F5798;
}
</style>
background-color css
<style>
a { background-color: #7F5798; }
a { background-color: rgb(127,87,152); }
div.DivClassName
{
background-color: #7F5798;
}
.BgClassName
{
background-color: #7F5798;
}
</style>
border-color css
<style>
span { border-color: #7F5798; }
span { border-color: rgb(127,87,152); }
td.TdClassName
{
border-color: #7F5798;
}
.TagClassName
{
border-color: #7F5798;
}
</style>