Shades of Medium Violet Red #D3158C
Tints of Medium Violet Red #D3158C
RGB
CMYK
RGB Variations
Color information
#D3158C (or 0xD3158C) is known color: Medium Violet Red. HEX triplet: D3, 15 and 8C. RGB value is (211,21,140). Sum of RGB (Red+Green+Blue) = 211+21+140=372 (49% of max value = 765). Red value is 211 (82.81% from 255 or 56.72% from 372); Green value is 21 (8.59% from 255 or 5.65% from 372); Blue value is 140 (55.08% from 255 or 37.63% from 372); Max value from RGB is 211 - color contains mainly: red. Hex color #D3158C is not a web safe color. Web safe color analog (approx): #CC0099. Inversed color of #D3158C is #2CEA73. Grayscale: #5B5B5B. Windows color (decimal): -2943604 or 9180627. OLE color: 9180627.
HSL color Cylindrical-coordinate representation of color #D3158C: hue angle of 322.42º degrees, saturation: 0.82, lightness: 0.45%. HSV value (or HSB Brightness) of color is 0.83% and HSV saturation: 0.9%. Process color model (Four color, CMYK) of #D3158C is Cyan = 0, Magento = 0.90, Yellow = 0.34 and Black (K on CMYK) = 0.17.
Color convert
| RGB | 211 | 21 | 140 | - |
| CMYK | 0 | 0.90 | 0.34 | 0.17 |
| HSL | 322.42º | 0.82% | 0.45% | - |
| HSV(B) | 322.42º | 0.9% | 0.83% | - |
| XYZ | 31.87 | 16.28 | 26.27 | - |
| YUV | 91.38 | 155.45 | 213.32 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 211 | 21 | 140 | 0 | 0.90 | 0.34 | 0.17 | 322.42 | 0.82 | 0.45 |
| Hex | D3 | 15 | 8C | 0 | 5A | 22 | 11 | 142 | 52 | 2D |
| Octal | 323 | 25 | 214 | 0 | 132 | 42 | 21 | 502 | 122 | 55 |
| Binary | 11010011 | 10101 | 10001100 | 0 | 1011010 | 100010 | 10001 | 101000010 | 1010010 | 101101 |
Color Harmonies of #D3158C
Complementary color
Monochromatic Colors of #D3158C
Black with #D3158C
Text Example
Text Example
White with #D3158C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #D3158C; }
p { color: rgb(211,21,140); }
H1.HeaderClassName
{
color: #D3158C;
}
.AnyTagClassName
{
color: #D3158C;
}
</style>
background-color css
<style>
a { background-color: #D3158C; }
a { background-color: rgb(211,21,140); }
div.DivClassName
{
background-color: #D3158C;
}
.BgClassName
{
background-color: #D3158C;
}
</style>
border-color css
<style>
span { border-color: #D3158C; }
span { border-color: rgb(211,21,140); }
td.TdClassName
{
border-color: #D3158C;
}
.TagClassName
{
border-color: #D3158C;
}
</style>