HEX: #B478EB
RGB: (180,120,235)
#B478EB contains mainly red and blue colors. Web safe color of #B478EB is #CC66FF (or #C6F).
#B478EB color RGB value is (180,120,235).
RGB: (180,120,235) (71%,47%,92%)
R 180 of 255 = 71%
G 120 of 255 = 47%
B 235 of 255 = 92%
R + G + B ~ 70%. #B478EB is quite light color.
R + G + B =
180 + 120 + 235 = 535 (100%)
R 180 of 535 ~ 33.64%
G 120 of 535 ~ 22.43%
B 235 of 535 ~ 43.93%
#B478EB color CMYK value is (23,49,0,8).
CMYK: (23,49,0,8) C23M49Y0K8 (23%,49%,0%,8%) (0.23/0.49/0.00/0.08)
B4 | 78 | EB | |
---|---|---|---|
RGB | 180 | 120 | 235 |
HSL | 271° | 74.19% | 69.61% |
HSB/HSV | 271° | 48.94% | 92.16% |
CMYK | 23.40% | 48.94% | 0.00% |
7.84% |
HEX | B4 | 78 | EB |
Decimal | 180 | 120 | 235 |
Binary | 10110100 | 1111000 | 11101011 |
Octal | 264 | 170 | 353 |
Examples of css and html codes for elements with #B478EB color. Also use rgb(180,120,235) instead hex code.
.myTextColor { color: #B478EB; }
<p style="color:#B478EB">This sample text font color is #B478EB.</p>
This text font color is #B478EB.
.myBgColor { background-color: #B478EB; }
<div style="background-color:#B478EB">Inner text</div>
This div background color is #B478EB.
.myBorderColor { border: 1px solid #B478EB; }
<div style="border:3px solid #B478EB">Div</div>
This div border color is #B478EB.
.myOpacity80 { color: #B478EB; opacity: 0.8; }
<p style="color:#B478EB;opacity:0.8;">80%</p>
Text with #B478EB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B478EB;}
<p style="text-shadow: 3px 3px 1px #B478EB">Text here.</p>
This text has shadow with #B478EB color.
.textShadow {text-shadow: 3px 3px 1px #B478EB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B478EB, 5px 5px 20px red">Text here.</p>
This text has shadow with #B478EB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B478EB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B478EB, Direction=45, Strength=4)">Text</p>
This text has shadow with #B478EB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B478EB; -webkit-box-shadow: 1px 1px 3px 2px #B478EB; box-shadow: 1px 1px 3px 2px #B478EB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B478EB; -webkit-box-shadow: 1px 1px 3px 2px #B478EB; box-shadow:1px 1px 3px 2px #B478EB;">
Div content here</div>
This text has color #B478EB on black background.
This text has color #B478EB on white background.
This text has black color on #B478EB background.
This text has white color on #B478EB background.