Shades of Affair #7F5298
Tints of Affair #7F5298
RGB
CMYK
RGB Variations
Color information
#7F5298 (or 0x7F5298) is known color: Affair. HEX triplet: 7F, 52 and 98. RGB value is (127,82,152). Sum of RGB (Red+Green+Blue) = 127+82+152=361 (47% of max value = 765). Red value is 127 (50% from 255 or 35.18% from 361); Green value is 82 (32.42% from 255 or 22.71% from 361); Blue value is 152 (59.77% from 255 or 42.11% from 361); Max value from RGB is 152 - color contains mainly: blue. Hex color #7F5298 is not a web safe color. Web safe color analog (approx): #666699. Inversed color of #7F5298 is #80AD67. Grayscale: #676767. Windows color (decimal): -8433000 or 9982591. OLE color: 9982591.
HSL color Cylindrical-coordinate representation of color #7F5298: hue angle of 278.57º degrees, saturation: 0.3, lightness: 0.46%. HSV value (or HSB Brightness) of color is 0.6% and HSV saturation: 0.46%. Process color model (Four color, CMYK) of #7F5298 is Cyan = 0.16, Magento = 0.46, Yellow = 0 and Black (K on CMYK) = 0.40.
Color convert
| RGB | 127 | 82 | 152 | - |
| CMYK | 0.16 | 0.46 | 0 | 0.40 |
| HSL | 278.57º | 0.3% | 0.46% | - |
| HSV(B) | 278.57º | 0.46% | 0.6% | - |
| XYZ | 17.44 | 12.81 | 31.26 | - |
| YUV | 103.44 | 155.41 | 144.81 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 127 | 82 | 152 | 0.16 | 0.46 | 0 | 0.40 | 278.57 | 0.3 | 0.46 |
| Hex | 7F | 52 | 98 | 10 | 2E | 0 | 28 | 117 | 1E | 2E |
| Octal | 177 | 122 | 230 | 20 | 56 | 0 | 50 | 427 | 36 | 56 |
| Binary | 1111111 | 1010010 | 10011000 | 10000 | 101110 | 0 | 101000 | 100010111 | 11110 | 101110 |
Color Harmonies of #7F5298
Complementary color
Monochromatic Colors of #7F5298
Black with #7F5298
Text Example
Text Example
White with #7F5298
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #7F5298; }
p { color: rgb(127,82,152); }
H1.HeaderClassName
{
color: #7F5298;
}
.AnyTagClassName
{
color: #7F5298;
}
</style>
background-color css
<style>
a { background-color: #7F5298; }
a { background-color: rgb(127,82,152); }
div.DivClassName
{
background-color: #7F5298;
}
.BgClassName
{
background-color: #7F5298;
}
</style>
border-color css
<style>
span { border-color: #7F5298; }
span { border-color: rgb(127,82,152); }
td.TdClassName
{
border-color: #7F5298;
}
.TagClassName
{
border-color: #7F5298;
}
</style>