Shades of Affair #7F5197
Tints of Affair #7F5197
RGB
CMYK
RGB Variations
Color information
#7F5197 (or 0x7F5197) is known color: Affair. HEX triplet: 7F, 51 and 97. RGB value is (127,81,151). Sum of RGB (Red+Green+Blue) = 127+81+151=359 (47% of max value = 765). Red value is 127 (50% from 255 or 35.38% from 359); Green value is 81 (32.03% from 255 or 22.56% from 359); Blue value is 151 (59.38% from 255 or 42.06% from 359); Max value from RGB is 151 - color contains mainly: blue. Hex color #7F5197 is not a web safe color. Web safe color analog (approx): #666699. Inversed color of #7F5197 is #80AE68. Grayscale: #666666. Windows color (decimal): -8433257 or 9916799. OLE color: 9916799.
HSL color Cylindrical-coordinate representation of color #7F5197: hue angle of 279.43º degrees, saturation: 0.3, lightness: 0.45%. HSV value (or HSB Brightness) of color is 0.59% and HSV saturation: 0.46%. Process color model (Four color, CMYK) of #7F5197 is Cyan = 0.16, Magento = 0.46, Yellow = 0 and Black (K on CMYK) = 0.41.
Color convert
| RGB | 127 | 81 | 151 | - |
| CMYK | 0.16 | 0.46 | 0 | 0.41 |
| HSL | 279.43º | 0.3% | 0.45% | - |
| HSV(B) | 279.43º | 0.46% | 0.59% | - |
| XYZ | 17.28 | 12.63 | 30.81 | - |
| YUV | 102.73 | 155.24 | 145.31 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 127 | 81 | 151 | 0.16 | 0.46 | 0 | 0.41 | 279.43 | 0.3 | 0.45 |
| Hex | 7F | 51 | 97 | 10 | 2E | 0 | 29 | 117 | 1E | 2D |
| Octal | 177 | 121 | 227 | 20 | 56 | 0 | 51 | 427 | 36 | 55 |
| Binary | 1111111 | 1010001 | 10010111 | 10000 | 101110 | 0 | 101001 | 100010111 | 11110 | 101101 |
Color Harmonies of #7F5197
Complementary color
Monochromatic Colors of #7F5197
Black with #7F5197
Text Example
Text Example
White with #7F5197
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #7F5197; }
p { color: rgb(127,81,151); }
H1.HeaderClassName
{
color: #7F5197;
}
.AnyTagClassName
{
color: #7F5197;
}
</style>
background-color css
<style>
a { background-color: #7F5197; }
a { background-color: rgb(127,81,151); }
div.DivClassName
{
background-color: #7F5197;
}
.BgClassName
{
background-color: #7F5197;
}
</style>
border-color css
<style>
span { border-color: #7F5197; }
span { border-color: rgb(127,81,151); }
td.TdClassName
{
border-color: #7F5197;
}
.TagClassName
{
border-color: #7F5197;
}
</style>