HEX: #BC2A9A
RGB: (188,42,154)
#BC2A9A contains mainly red and blue colors. Web safe color of #BC2A9A is #CC3399 (or #C39).
#BC2A9A color RGB value is (188,42,154).
RGB: (188,42,154) (74%,16%,60%)
R 188 of 255 = 74%
G 42 of 255 = 16%
B 154 of 255 = 60%
R + G + B ~ 50%. #BC2A9A is middle color (not dark and not light).
R + G + B =
188 + 42 + 154 = 384 (100%)
R 188 of 384 ~ 48.96%
G 42 of 384 ~ 10.94%
B 154 of 384 ~ 40.1%
#BC2A9A color CMYK value is (0,78,18,26).
CMYK: (0,78,18,26) C0M78Y18K26 (0%,78%,18%,26%) (0.00/0.78/0.18/0.26)
BC | 2A | 9A | |
---|---|---|---|
RGB | 188 | 42 | 154 |
HSL | 314° | 63.48% | 45.10% |
HSB/HSV | 314° | 77.66% | 73.73% |
CMYK | 0.00% | 77.66% | 18.09% |
26.27% |
HEX | BC | 2A | 9A |
Decimal | 188 | 42 | 154 |
Binary | 10111100 | 101010 | 10011010 |
Octal | 274 | 52 | 232 |
Examples of css and html codes for elements with #BC2A9A color. Also use rgb(188,42,154) instead hex code.
.myTextColor { color: #BC2A9A; }
<p style="color:#BC2A9A">This sample text font color is #BC2A9A.</p>
This text font color is #BC2A9A.
.myBgColor { background-color: #BC2A9A; }
<div style="background-color:#BC2A9A">Inner text</div>
This div background color is #BC2A9A.
.myBorderColor { border: 1px solid #BC2A9A; }
<div style="border:3px solid #BC2A9A">Div</div>
This div border color is #BC2A9A.
.myOpacity80 { color: #BC2A9A; opacity: 0.8; }
<p style="color:#BC2A9A;opacity:0.8;">80%</p>
Text with #BC2A9A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BC2A9A;}
<p style="text-shadow: 3px 3px 1px #BC2A9A">Text here.</p>
This text has shadow with #BC2A9A color.
.textShadow {text-shadow: 3px 3px 1px #BC2A9A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BC2A9A, 5px 5px 20px red">Text here.</p>
This text has shadow with #BC2A9A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BC2A9A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BC2A9A, Direction=45, Strength=4)">Text</p>
This text has shadow with #BC2A9A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BC2A9A; -webkit-box-shadow: 1px 1px 3px 2px #BC2A9A; box-shadow: 1px 1px 3px 2px #BC2A9A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BC2A9A; -webkit-box-shadow: 1px 1px 3px 2px #BC2A9A; box-shadow:1px 1px 3px 2px #BC2A9A;">
Div content here</div>
This text has color #BC2A9A on black background.
This text has color #BC2A9A on white background.
This text has black color on #BC2A9A background.
This text has white color on #BC2A9A background.