HEX: #6D42ED
RGB: (109,66,237)
#6D42ED contains mainly blue color. Web safe color of #6D42ED is #6633FF (or #63F).
#6D42ED color RGB value is (109,66,237).
RGB: (109,66,237) (43%,26%,93%)
R 109 of 255 = 43%
G 66 of 255 = 26%
B 237 of 255 = 93%
R + G + B ~ 54%. #6D42ED is middle color (not dark and not light).
R + G + B =
109 + 66 + 237 = 412 (100%)
R 109 of 412 ~ 26.46%
G 66 of 412 ~ 16.02%
B 237 of 412 ~ 57.52%
#6D42ED color CMYK value is (54,72,0,7).
CMYK: (54,72,0,7) C54M72Y0K7 (54%,72%,0%,7%) (0.54/0.72/0.00/0.07)
6D | 42 | ED | |
---|---|---|---|
RGB | 109 | 66 | 237 |
HSL | 255° | 82.61% | 59.41% |
HSB/HSV | 255° | 72.15% | 92.94% |
CMYK | 54.01% | 72.15% | 0.00% |
7.06% |
HEX | 6D | 42 | ED |
Decimal | 109 | 66 | 237 |
Binary | 1101101 | 1000010 | 11101101 |
Octal | 155 | 102 | 355 |
Examples of css and html codes for elements with #6D42ED color. Also use rgb(109,66,237) instead hex code.
.myTextColor { color: #6D42ED; }
<p style="color:#6D42ED">This sample text font color is #6D42ED.</p>
This text font color is #6D42ED.
.myBgColor { background-color: #6D42ED; }
<div style="background-color:#6D42ED">Inner text</div>
This div background color is #6D42ED.
.myBorderColor { border: 1px solid #6D42ED; }
<div style="border:3px solid #6D42ED">Div</div>
This div border color is #6D42ED.
.myOpacity80 { color: #6D42ED; opacity: 0.8; }
<p style="color:#6D42ED;opacity:0.8;">80%</p>
Text with #6D42ED color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D42ED;}
<p style="text-shadow: 3px 3px 1px #6D42ED">Text here.</p>
This text has shadow with #6D42ED color.
.textShadow {text-shadow: 3px 3px 1px #6D42ED, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D42ED, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D42ED primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D42ED, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D42ED, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D42ED and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D42ED; -webkit-box-shadow: 1px 1px 3px 2px #6D42ED; box-shadow: 1px 1px 3px 2px #6D42ED; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D42ED; -webkit-box-shadow: 1px 1px 3px 2px #6D42ED; box-shadow:1px 1px 3px 2px #6D42ED;">
Div content here</div>
This text has color #6D42ED on black background.
This text has color #6D42ED on white background.
This text has black color on #6D42ED background.
This text has white color on #6D42ED background.