HEX: #6D40CA
RGB: (109,64,202)
#6D40CA contains mainly blue color. Web safe color of #6D40CA is #6633CC (or #63C).
#6D40CA color RGB value is (109,64,202).
RGB: (109,64,202) (43%,25%,79%)
R 109 of 255 = 43%
G 64 of 255 = 25%
B 202 of 255 = 79%
R + G + B ~ 49%. #6D40CA is middle color (not dark and not light).
R + G + B =
109 + 64 + 202 = 375 (100%)
R 109 of 375 ~ 29.07%
G 64 of 375 ~ 17.07%
B 202 of 375 ~ 53.87%
#6D40CA color CMYK value is (46,68,0,21).
CMYK: (46,68,0,21) C46M68Y0K21 (46%,68%,0%,21%) (0.46/0.68/0.00/0.21)
6D | 40 | CA | |
---|---|---|---|
RGB | 109 | 64 | 202 |
HSL | 260° | 56.56% | 52.16% |
HSB/HSV | 260° | 68.32% | 79.22% |
CMYK | 46.04% | 68.32% | 0.00% |
20.78% |
HEX | 6D | 40 | CA |
Decimal | 109 | 64 | 202 |
Binary | 1101101 | 1000000 | 11001010 |
Octal | 155 | 100 | 312 |
Examples of css and html codes for elements with #6D40CA color. Also use rgb(109,64,202) instead hex code.
.myTextColor { color: #6D40CA; }
<p style="color:#6D40CA">This sample text font color is #6D40CA.</p>
This text font color is #6D40CA.
.myBgColor { background-color: #6D40CA; }
<div style="background-color:#6D40CA">Inner text</div>
This div background color is #6D40CA.
.myBorderColor { border: 1px solid #6D40CA; }
<div style="border:3px solid #6D40CA">Div</div>
This div border color is #6D40CA.
.myOpacity80 { color: #6D40CA; opacity: 0.8; }
<p style="color:#6D40CA;opacity:0.8;">80%</p>
Text with #6D40CA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D40CA;}
<p style="text-shadow: 3px 3px 1px #6D40CA">Text here.</p>
This text has shadow with #6D40CA color.
.textShadow {text-shadow: 3px 3px 1px #6D40CA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D40CA, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D40CA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D40CA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D40CA, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D40CA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D40CA; -webkit-box-shadow: 1px 1px 3px 2px #6D40CA; box-shadow: 1px 1px 3px 2px #6D40CA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D40CA; -webkit-box-shadow: 1px 1px 3px 2px #6D40CA; box-shadow:1px 1px 3px 2px #6D40CA;">
Div content here</div>
This text has color #6D40CA on black background.
This text has color #6D40CA on white background.
This text has black color on #6D40CA background.
This text has white color on #6D40CA background.