HEX: #B425D9
RGB: (180,37,217)
#B425D9 contains mainly red and blue colors. Web safe color of #B425D9 is #CC33CC (or #C3C).
#B425D9 color RGB value is (180,37,217).
RGB: (180,37,217) (71%,15%,85%)
R 180 of 255 = 71%
G 37 of 255 = 15%
B 217 of 255 = 85%
R + G + B ~ 57%. #B425D9 is middle color (not dark and not light).
R + G + B =
180 + 37 + 217 = 434 (100%)
R 180 of 434 ~ 41.47%
G 37 of 434 ~ 8.53%
B 217 of 434 ~ 50%
#B425D9 color CMYK value is (17,83,0,15).
CMYK: (17,83,0,15) C17M83Y0K15 (17%,83%,0%,15%) (0.17/0.83/0.00/0.15)
B4 | 25 | D9 | |
---|---|---|---|
RGB | 180 | 37 | 217 |
HSL | 288° | 70.87% | 49.80% |
HSB/HSV | 288° | 82.95% | 85.10% |
CMYK | 17.05% | 82.95% | 0.00% |
14.90% |
HEX | B4 | 25 | D9 |
Decimal | 180 | 37 | 217 |
Binary | 10110100 | 100101 | 11011001 |
Octal | 264 | 45 | 331 |
Examples of css and html codes for elements with #B425D9 color. Also use rgb(180,37,217) instead hex code.
.myTextColor { color: #B425D9; }
<p style="color:#B425D9">This sample text font color is #B425D9.</p>
This text font color is #B425D9.
.myBgColor { background-color: #B425D9; }
<div style="background-color:#B425D9">Inner text</div>
This div background color is #B425D9.
.myBorderColor { border: 1px solid #B425D9; }
<div style="border:3px solid #B425D9">Div</div>
This div border color is #B425D9.
.myOpacity80 { color: #B425D9; opacity: 0.8; }
<p style="color:#B425D9;opacity:0.8;">80%</p>
Text with #B425D9 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B425D9;}
<p style="text-shadow: 3px 3px 1px #B425D9">Text here.</p>
This text has shadow with #B425D9 color.
.textShadow {text-shadow: 3px 3px 1px #B425D9, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B425D9, 5px 5px 20px red">Text here.</p>
This text has shadow with #B425D9 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B425D9, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B425D9, Direction=45, Strength=4)">Text</p>
This text has shadow with #B425D9 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B425D9; -webkit-box-shadow: 1px 1px 3px 2px #B425D9; box-shadow: 1px 1px 3px 2px #B425D9; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B425D9; -webkit-box-shadow: 1px 1px 3px 2px #B425D9; box-shadow:1px 1px 3px 2px #B425D9;">
Div content here</div>
This text has color #B425D9 on black background.
This text has color #B425D9 on white background.
This text has black color on #B425D9 background.
This text has white color on #B425D9 background.