Shades of Medium Violet Red #D7159C
Tints of Medium Violet Red #D7159C
RGB
CMYK
RGB Variations
Color information
#D7159C (or 0xD7159C) is known color: Medium Violet Red. HEX triplet: D7, 15 and 9C. RGB value is (215,21,156). Sum of RGB (Red+Green+Blue) = 215+21+156=392 (51% of max value = 765). Red value is 215 (84.38% from 255 or 54.85% from 392); Green value is 21 (8.59% from 255 or 5.36% from 392); Blue value is 156 (61.33% from 255 or 39.80% from 392); Max value from RGB is 215 - color contains mainly: red. Hex color #D7159C is not a web safe color. Web safe color analog (approx): #CC0099. Inversed color of #D7159C is #28EA63. Grayscale: #5E5E5E. Windows color (decimal): -2681444 or 10229207. OLE color: 10229207.
HSL color Cylindrical-coordinate representation of color #D7159C: hue angle of 318.25º degrees, saturation: 0.82, lightness: 0.46%. HSV value (or HSB Brightness) of color is 0.84% and HSV saturation: 0.9%. Process color model (Four color, CMYK) of #D7159C is Cyan = 0, Magento = 0.90, Yellow = 0.27 and Black (K on CMYK) = 0.16.
Color convert
| RGB | 215 | 21 | 156 | - |
| CMYK | 0 | 0.90 | 0.27 | 0.16 |
| HSL | 318.25º | 0.82% | 0.46% | - |
| HSV(B) | 318.25º | 0.9% | 0.84% | - |
| XYZ | 34.29 | 17.38 | 33 | - |
| YUV | 94.4 | 162.77 | 214.02 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 215 | 21 | 156 | 0 | 0.90 | 0.27 | 0.16 | 318.25 | 0.82 | 0.46 |
| Hex | D7 | 15 | 9C | 0 | 5A | 1B | 10 | 13E | 52 | 2E |
| Octal | 327 | 25 | 234 | 0 | 132 | 33 | 20 | 476 | 122 | 56 |
| Binary | 11010111 | 10101 | 10011100 | 0 | 1011010 | 11011 | 10000 | 100111110 | 1010010 | 101110 |
Color Harmonies of #D7159C
Complementary color
Monochromatic Colors of #D7159C
Black with #D7159C
Text Example
Text Example
White with #D7159C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #D7159C; }
p { color: rgb(215,21,156); }
H1.HeaderClassName
{
color: #D7159C;
}
.AnyTagClassName
{
color: #D7159C;
}
</style>
background-color css
<style>
a { background-color: #D7159C; }
a { background-color: rgb(215,21,156); }
div.DivClassName
{
background-color: #D7159C;
}
.BgClassName
{
background-color: #D7159C;
}
</style>
border-color css
<style>
span { border-color: #D7159C; }
span { border-color: rgb(215,21,156); }
td.TdClassName
{
border-color: #D7159C;
}
.TagClassName
{
border-color: #D7159C;
}
</style>