HEX: #B57DEF
RGB: (181,125,239)
#B57DEF contains mainly red and blue colors. Web safe color of #B57DEF is #CC66FF (or #C6F).
#B57DEF color RGB value is (181,125,239).
RGB: (181,125,239) (71%,49%,94%)
R 181 of 255 = 71%
G 125 of 255 = 49%
B 239 of 255 = 94%
R + G + B ~ 71%. #B57DEF is quite light color.
R + G + B =
181 + 125 + 239 = 545 (100%)
R 181 of 545 ~ 33.21%
G 125 of 545 ~ 22.94%
B 239 of 545 ~ 43.85%
#B57DEF color CMYK value is (24,48,0,6).
CMYK: (24,48,0,6) C24M48Y0K6 (24%,48%,0%,6%) (0.24/0.48/0.00/0.06)
B5 | 7D | EF | |
---|---|---|---|
RGB | 181 | 125 | 239 |
HSL | 269° | 78.08% | 71.37% |
HSB/HSV | 269° | 47.70% | 93.73% |
CMYK | 24.27% | 47.70% | 0.00% |
6.27% |
HEX | B5 | 7D | EF |
Decimal | 181 | 125 | 239 |
Binary | 10110101 | 1111101 | 11101111 |
Octal | 265 | 175 | 357 |
Examples of css and html codes for elements with #B57DEF color. Also use rgb(181,125,239) instead hex code.
.myTextColor { color: #B57DEF; }
<p style="color:#B57DEF">This sample text font color is #B57DEF.</p>
This text font color is #B57DEF.
.myBgColor { background-color: #B57DEF; }
<div style="background-color:#B57DEF">Inner text</div>
This div background color is #B57DEF.
.myBorderColor { border: 1px solid #B57DEF; }
<div style="border:3px solid #B57DEF">Div</div>
This div border color is #B57DEF.
.myOpacity80 { color: #B57DEF; opacity: 0.8; }
<p style="color:#B57DEF;opacity:0.8;">80%</p>
Text with #B57DEF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B57DEF;}
<p style="text-shadow: 3px 3px 1px #B57DEF">Text here.</p>
This text has shadow with #B57DEF color.
.textShadow {text-shadow: 3px 3px 1px #B57DEF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B57DEF, 5px 5px 20px red">Text here.</p>
This text has shadow with #B57DEF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B57DEF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B57DEF, Direction=45, Strength=4)">Text</p>
This text has shadow with #B57DEF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B57DEF; -webkit-box-shadow: 1px 1px 3px 2px #B57DEF; box-shadow: 1px 1px 3px 2px #B57DEF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B57DEF; -webkit-box-shadow: 1px 1px 3px 2px #B57DEF; box-shadow:1px 1px 3px 2px #B57DEF;">
Div content here</div>
This text has color #B57DEF on black background.
This text has color #B57DEF on white background.
This text has black color on #B57DEF background.
This text has white color on #B57DEF background.