HEX: #BA55D3
RGB: (186,85,211)
Color name is MediumOrchid. #BA55D3 contains mainly red and blue colors. Web safe color of #BA55D3 is #CC66CC (or #C6C).
#BA55D3 color RGB value is (186,85,211).
RGB: (186,85,211) (73%,33%,83%)
R 186 of 255 = 73%
G 85 of 255 = 33%
B 211 of 255 = 83%
R + G + B ~ 63%. #BA55D3 is quite light color.
R + G + B =
186 + 85 + 211 = 482 (100%)
R 186 of 482 ~ 38.59%
G 85 of 482 ~ 17.63%
B 211 of 482 ~ 43.78%
#BA55D3 color CMYK value is (12,60,0,17).
CMYK: (12,60,0,17) C12M60Y0K17 (12%,60%,0%,17%) (0.12/0.60/0.00/0.17)
BA | 55 | D3 | |
---|---|---|---|
RGB | 186 | 85 | 211 |
HSL | 288° | 58.88% | 58.04% |
HSB/HSV | 288° | 59.72% | 82.75% |
CMYK | 11.85% | 59.72% | 0.00% |
17.25% |
HEX | BA | 55 | D3 |
Decimal | 186 | 85 | 211 |
Binary | 10111010 | 1010101 | 11010011 |
Octal | 272 | 125 | 323 |
Examples of css and html codes for elements with #BA55D3 color. Also use rgb(186,85,211) instead hex code.
.myTextColor { color: #BA55D3; }
<p style="color:#BA55D3">This sample text font color is #BA55D3.</p>
This text font color is #BA55D3.
.myBgColor { background-color: #BA55D3; }
<div style="background-color:#BA55D3">Inner text</div>
This div background color is #BA55D3.
.myBorderColor { border: 1px solid #BA55D3; }
<div style="border:3px solid #BA55D3">Div</div>
This div border color is #BA55D3.
.myOpacity80 { color: #BA55D3; opacity: 0.8; }
<p style="color:#BA55D3;opacity:0.8;">80%</p>
Text with #BA55D3 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BA55D3;}
<p style="text-shadow: 3px 3px 1px #BA55D3">Text here.</p>
This text has shadow with #BA55D3 color.
.textShadow {text-shadow: 3px 3px 1px #BA55D3, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BA55D3, 5px 5px 20px red">Text here.</p>
This text has shadow with #BA55D3 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BA55D3, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BA55D3, Direction=45, Strength=4)">Text</p>
This text has shadow with #BA55D3 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BA55D3; -webkit-box-shadow: 1px 1px 3px 2px #BA55D3; box-shadow: 1px 1px 3px 2px #BA55D3; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BA55D3; -webkit-box-shadow: 1px 1px 3px 2px #BA55D3; box-shadow:1px 1px 3px 2px #BA55D3;">
Div content here</div>
This text has color #BA55D3 on black background.
This text has color #BA55D3 on white background.
This text has black color on #BA55D3 background.
This text has white color on #BA55D3 background.