HEX: #6E42DD
RGB: (110,66,221)
#6E42DD contains mainly blue color. Web safe color of #6E42DD is #6633CC (or #63C).
#6E42DD color RGB value is (110,66,221).
RGB: (110,66,221) (43%,26%,87%)
R 110 of 255 = 43%
G 66 of 255 = 26%
B 221 of 255 = 87%
R + G + B ~ 52%. #6E42DD is middle color (not dark and not light).
R + G + B =
110 + 66 + 221 = 397 (100%)
R 110 of 397 ~ 27.71%
G 66 of 397 ~ 16.62%
B 221 of 397 ~ 55.67%
#6E42DD color CMYK value is (50,70,0,13).
CMYK: (50,70,0,13) C50M70Y0K13 (50%,70%,0%,13%) (0.50/0.70/0.00/0.13)
6E | 42 | DD | |
---|---|---|---|
RGB | 110 | 66 | 221 |
HSL | 257° | 69.51% | 56.27% |
HSB/HSV | 257° | 70.14% | 86.67% |
CMYK | 50.23% | 70.14% | 0.00% |
13.33% |
HEX | 6E | 42 | DD |
Decimal | 110 | 66 | 221 |
Binary | 1101110 | 1000010 | 11011101 |
Octal | 156 | 102 | 335 |
Examples of css and html codes for elements with #6E42DD color. Also use rgb(110,66,221) instead hex code.
.myTextColor { color: #6E42DD; }
<p style="color:#6E42DD">This sample text font color is #6E42DD.</p>
This text font color is #6E42DD.
.myBgColor { background-color: #6E42DD; }
<div style="background-color:#6E42DD">Inner text</div>
This div background color is #6E42DD.
.myBorderColor { border: 1px solid #6E42DD; }
<div style="border:3px solid #6E42DD">Div</div>
This div border color is #6E42DD.
.myOpacity80 { color: #6E42DD; opacity: 0.8; }
<p style="color:#6E42DD;opacity:0.8;">80%</p>
Text with #6E42DD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6E42DD;}
<p style="text-shadow: 3px 3px 1px #6E42DD">Text here.</p>
This text has shadow with #6E42DD color.
.textShadow {text-shadow: 3px 3px 1px #6E42DD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6E42DD, 5px 5px 20px red">Text here.</p>
This text has shadow with #6E42DD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6E42DD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6E42DD, Direction=45, Strength=4)">Text</p>
This text has shadow with #6E42DD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6E42DD; -webkit-box-shadow: 1px 1px 3px 2px #6E42DD; box-shadow: 1px 1px 3px 2px #6E42DD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6E42DD; -webkit-box-shadow: 1px 1px 3px 2px #6E42DD; box-shadow:1px 1px 3px 2px #6E42DD;">
Div content here</div>
This text has color #6E42DD on black background.
This text has color #6E42DD on white background.
This text has black color on #6E42DD background.
This text has white color on #6E42DD background.