HEX: #B381D5
RGB: (179,129,213)
#B381D5 contains mainly red and blue colors. Web safe color of #B381D5 is #9999CC (or #99C).
#B381D5 color RGB value is (179,129,213).
RGB: (179,129,213) (70%,51%,84%)
R 179 of 255 = 70%
G 129 of 255 = 51%
B 213 of 255 = 84%
R + G + B ~ 68%. #B381D5 is quite light color.
R + G + B =
179 + 129 + 213 = 521 (100%)
R 179 of 521 ~ 34.36%
G 129 of 521 ~ 24.76%
B 213 of 521 ~ 40.88%
#B381D5 color CMYK value is (16,39,0,16).
CMYK: (16,39,0,16) C16M39Y0K16 (16%,39%,0%,16%) (0.16/0.39/0.00/0.16)
B3 | 81 | D5 | |
---|---|---|---|
RGB | 179 | 129 | 213 |
HSL | 276° | 50.00% | 67.06% |
HSB/HSV | 276° | 39.44% | 83.53% |
CMYK | 15.96% | 39.44% | 0.00% |
16.47% |
HEX | B3 | 81 | D5 |
Decimal | 179 | 129 | 213 |
Binary | 10110011 | 10000001 | 11010101 |
Octal | 263 | 201 | 325 |
Examples of css and html codes for elements with #B381D5 color. Also use rgb(179,129,213) instead hex code.
.myTextColor { color: #B381D5; }
<p style="color:#B381D5">This sample text font color is #B381D5.</p>
This text font color is #B381D5.
.myBgColor { background-color: #B381D5; }
<div style="background-color:#B381D5">Inner text</div>
This div background color is #B381D5.
.myBorderColor { border: 1px solid #B381D5; }
<div style="border:3px solid #B381D5">Div</div>
This div border color is #B381D5.
.myOpacity80 { color: #B381D5; opacity: 0.8; }
<p style="color:#B381D5;opacity:0.8;">80%</p>
Text with #B381D5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B381D5;}
<p style="text-shadow: 3px 3px 1px #B381D5">Text here.</p>
This text has shadow with #B381D5 color.
.textShadow {text-shadow: 3px 3px 1px #B381D5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B381D5, 5px 5px 20px red">Text here.</p>
This text has shadow with #B381D5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B381D5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B381D5, Direction=45, Strength=4)">Text</p>
This text has shadow with #B381D5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B381D5; -webkit-box-shadow: 1px 1px 3px 2px #B381D5; box-shadow: 1px 1px 3px 2px #B381D5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B381D5; -webkit-box-shadow: 1px 1px 3px 2px #B381D5; box-shadow:1px 1px 3px 2px #B381D5;">
Div content here</div>
This text has color #B381D5 on black background.
This text has color #B381D5 on white background.
This text has black color on #B381D5 background.
This text has white color on #B381D5 background.