Shades of Affair #7F5098
Tints of Affair #7F5098
RGB
CMYK
RGB Variations
Color information
#7F5098 (or 0x7F5098) is known color: Affair. HEX triplet: 7F, 50 and 98. RGB value is (127,80,152). Sum of RGB (Red+Green+Blue) = 127+80+152=359 (47% of max value = 765). Red value is 127 (50% from 255 or 35.38% from 359); Green value is 80 (31.64% from 255 or 22.28% 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 #7F5098 is not a web safe color. Web safe color analog (approx): #666699. Inversed color of #7F5098 is #80AF67. Grayscale: #666666. Windows color (decimal): -8433512 or 9982079. OLE color: 9982079.
HSL color Cylindrical-coordinate representation of color #7F5098: hue angle of 279.17º degrees, saturation: 0.31, lightness: 0.45%. HSV value (or HSB Brightness) of color is 0.6% and HSV saturation: 0.47%. Process color model (Four color, CMYK) of #7F5098 is Cyan = 0.16, Magento = 0.47, Yellow = 0 and Black (K on CMYK) = 0.40.
Color convert
| RGB | 127 | 80 | 152 | - |
| CMYK | 0.16 | 0.47 | 0 | 0.40 |
| HSL | 279.17º | 0.31% | 0.45% | - |
| HSV(B) | 279.17º | 0.47% | 0.6% | - |
| XYZ | 17.29 | 12.52 | 31.21 | - |
| YUV | 102.26 | 156.07 | 145.65 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 127 | 80 | 152 | 0.16 | 0.47 | 0 | 0.40 | 279.17 | 0.31 | 0.45 |
| Hex | 7F | 50 | 98 | 10 | 2F | 0 | 28 | 117 | 1F | 2D |
| Octal | 177 | 120 | 230 | 20 | 57 | 0 | 50 | 427 | 37 | 55 |
| Binary | 1111111 | 1010000 | 10011000 | 10000 | 101111 | 0 | 101000 | 100010111 | 11111 | 101101 |
Color Harmonies of #7F5098
Complementary color
Monochromatic Colors of #7F5098
Black with #7F5098
Text Example
Text Example
White with #7F5098
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #7F5098; }
p { color: rgb(127,80,152); }
H1.HeaderClassName
{
color: #7F5098;
}
.AnyTagClassName
{
color: #7F5098;
}
</style>
background-color css
<style>
a { background-color: #7F5098; }
a { background-color: rgb(127,80,152); }
div.DivClassName
{
background-color: #7F5098;
}
.BgClassName
{
background-color: #7F5098;
}
</style>
border-color css
<style>
span { border-color: #7F5098; }
span { border-color: rgb(127,80,152); }
td.TdClassName
{
border-color: #7F5098;
}
.TagClassName
{
border-color: #7F5098;
}
</style>