HEX: #B303A4
RGB: (179,3,164)
#B303A4 contains mainly red and blue colors. Web safe color of #B303A4 is #990099 (or #909).
#B303A4 color RGB value is (179,3,164).
RGB: (179,3,164) (70%,1%,64%)
R 179 of 255 = 70%
G 3 of 255 = 1%
B 164 of 255 = 64%
R + G + B ~ 45%. #B303A4 is middle color (not dark and not light).
R + G + B =
179 + 3 + 164 = 346 (100%)
R 179 of 346 ~ 51.73%
G 3 of 346 ~ 0.87%
B 164 of 346 ~ 47.4%
#B303A4 color CMYK value is (0,98,8,30).
CMYK: (0,98,8,30) C0M98Y8K30 (0%,98%,8%,30%) (0.00/0.98/0.08/0.30)
B3 | 03 | A4 | |
---|---|---|---|
RGB | 179 | 3 | 164 |
HSL | 305° | 96.70% | 35.69% |
HSB/HSV | 305° | 98.32% | 70.20% |
CMYK | 0.00% | 98.32% | 8.38% |
29.80% |
HEX | B3 | 03 | A4 |
Decimal | 179 | 3 | 164 |
Binary | 10110011 | 11 | 10100100 |
Octal | 263 | 3 | 244 |
Examples of css and html codes for elements with #B303A4 color. Also use rgb(179,3,164) instead hex code.
.myTextColor { color: #B303A4; }
<p style="color:#B303A4">This sample text font color is #B303A4.</p>
This text font color is #B303A4.
.myBgColor { background-color: #B303A4; }
<div style="background-color:#B303A4">Inner text</div>
This div background color is #B303A4.
.myBorderColor { border: 1px solid #B303A4; }
<div style="border:3px solid #B303A4">Div</div>
This div border color is #B303A4.
.myOpacity80 { color: #B303A4; opacity: 0.8; }
<p style="color:#B303A4;opacity:0.8;">80%</p>
Text with #B303A4 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B303A4;}
<p style="text-shadow: 3px 3px 1px #B303A4">Text here.</p>
This text has shadow with #B303A4 color.
.textShadow {text-shadow: 3px 3px 1px #B303A4, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B303A4, 5px 5px 20px red">Text here.</p>
This text has shadow with #B303A4 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B303A4, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B303A4, Direction=45, Strength=4)">Text</p>
This text has shadow with #B303A4 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B303A4; -webkit-box-shadow: 1px 1px 3px 2px #B303A4; box-shadow: 1px 1px 3px 2px #B303A4; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B303A4; -webkit-box-shadow: 1px 1px 3px 2px #B303A4; box-shadow:1px 1px 3px 2px #B303A4;">
Div content here</div>
This text has color #B303A4 on black background.
This text has color #B303A4 on white background.
This text has black color on #B303A4 background.
This text has white color on #B303A4 background.