HEX: #6A50BB
RGB: (106,80,187)
#6A50BB contains mainly blue color. Web safe color of #6A50BB is #6666CC (or #66C).
#6A50BB color RGB value is (106,80,187).
RGB: (106,80,187) (42%,31%,73%)
R 106 of 255 = 42%
G 80 of 255 = 31%
B 187 of 255 = 73%
R + G + B ~ 49%. #6A50BB is middle color (not dark and not light).
R + G + B =
106 + 80 + 187 = 373 (100%)
R 106 of 373 ~ 28.42%
G 80 of 373 ~ 21.45%
B 187 of 373 ~ 50.13%
#6A50BB color CMYK value is (43,57,0,27).
CMYK: (43,57,0,27) C43M57Y0K27 (43%,57%,0%,27%) (0.43/0.57/0.00/0.27)
6A | 50 | BB | |
---|---|---|---|
RGB | 106 | 80 | 187 |
HSL | 255° | 44.03% | 52.35% |
HSB/HSV | 255° | 57.22% | 73.33% |
CMYK | 43.32% | 57.22% | 0.00% |
26.67% |
HEX | 6A | 50 | BB |
Decimal | 106 | 80 | 187 |
Binary | 1101010 | 1010000 | 10111011 |
Octal | 152 | 120 | 273 |
Examples of css and html codes for elements with #6A50BB color. Also use rgb(106,80,187) instead hex code.
.myTextColor { color: #6A50BB; }
<p style="color:#6A50BB">This sample text font color is #6A50BB.</p>
This text font color is #6A50BB.
.myBgColor { background-color: #6A50BB; }
<div style="background-color:#6A50BB">Inner text</div>
This div background color is #6A50BB.
.myBorderColor { border: 1px solid #6A50BB; }
<div style="border:3px solid #6A50BB">Div</div>
This div border color is #6A50BB.
.myOpacity80 { color: #6A50BB; opacity: 0.8; }
<p style="color:#6A50BB;opacity:0.8;">80%</p>
Text with #6A50BB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6A50BB;}
<p style="text-shadow: 3px 3px 1px #6A50BB">Text here.</p>
This text has shadow with #6A50BB color.
.textShadow {text-shadow: 3px 3px 1px #6A50BB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6A50BB, 5px 5px 20px red">Text here.</p>
This text has shadow with #6A50BB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6A50BB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6A50BB, Direction=45, Strength=4)">Text</p>
This text has shadow with #6A50BB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6A50BB; -webkit-box-shadow: 1px 1px 3px 2px #6A50BB; box-shadow: 1px 1px 3px 2px #6A50BB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6A50BB; -webkit-box-shadow: 1px 1px 3px 2px #6A50BB; box-shadow:1px 1px 3px 2px #6A50BB;">
Div content here</div>
This text has color #6A50BB on black background.
This text has color #6A50BB on white background.
This text has black color on #6A50BB background.
This text has white color on #6A50BB background.