HEX: #6A5ECC
RGB: (106,94,204)
#6A5ECC contains mainly blue color. Web safe color of #6A5ECC is #6666CC (or #66C).
#6A5ECC color RGB value is (106,94,204).
RGB: (106,94,204) (42%,37%,80%)
R 106 of 255 = 42%
G 94 of 255 = 37%
B 204 of 255 = 80%
R + G + B ~ 53%. #6A5ECC is middle color (not dark and not light).
R + G + B =
106 + 94 + 204 = 404 (100%)
R 106 of 404 ~ 26.24%
G 94 of 404 ~ 23.27%
B 204 of 404 ~ 50.5%
#6A5ECC color CMYK value is (48,54,0,20).
CMYK: (48,54,0,20) C48M54Y0K20 (48%,54%,0%,20%) (0.48/0.54/0.00/0.20)
6A | 5E | CC | |
---|---|---|---|
RGB | 106 | 94 | 204 |
HSL | 247° | 51.89% | 58.43% |
HSB/HSV | 247° | 53.92% | 80.00% |
CMYK | 48.04% | 53.92% | 0.00% |
20.00% |
HEX | 6A | 5E | CC |
Decimal | 106 | 94 | 204 |
Binary | 1101010 | 1011110 | 11001100 |
Octal | 152 | 136 | 314 |
Examples of css and html codes for elements with #6A5ECC color. Also use rgb(106,94,204) instead hex code.
.myTextColor { color: #6A5ECC; }
<p style="color:#6A5ECC">This sample text font color is #6A5ECC.</p>
This text font color is #6A5ECC.
.myBgColor { background-color: #6A5ECC; }
<div style="background-color:#6A5ECC">Inner text</div>
This div background color is #6A5ECC.
.myBorderColor { border: 1px solid #6A5ECC; }
<div style="border:3px solid #6A5ECC">Div</div>
This div border color is #6A5ECC.
.myOpacity80 { color: #6A5ECC; opacity: 0.8; }
<p style="color:#6A5ECC;opacity:0.8;">80%</p>
Text with #6A5ECC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6A5ECC;}
<p style="text-shadow: 3px 3px 1px #6A5ECC">Text here.</p>
This text has shadow with #6A5ECC color.
.textShadow {text-shadow: 3px 3px 1px #6A5ECC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6A5ECC, 5px 5px 20px red">Text here.</p>
This text has shadow with #6A5ECC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6A5ECC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6A5ECC, Direction=45, Strength=4)">Text</p>
This text has shadow with #6A5ECC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6A5ECC; -webkit-box-shadow: 1px 1px 3px 2px #6A5ECC; box-shadow: 1px 1px 3px 2px #6A5ECC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6A5ECC; -webkit-box-shadow: 1px 1px 3px 2px #6A5ECC; box-shadow:1px 1px 3px 2px #6A5ECC;">
Div content here</div>
This text has color #6A5ECC on black background.
This text has color #6A5ECC on white background.
This text has black color on #6A5ECC background.
This text has white color on #6A5ECC background.