HEX: #6D027D
RGB: (109,2,125)
#6D027D contains mainly red and blue colors. Web safe color of #6D027D is #660066 (or #606).
#6D027D color RGB value is (109,2,125).
RGB: (109,2,125) (43%,1%,49%)
R 109 of 255 = 43%
G 2 of 255 = 1%
B 125 of 255 = 49%
R + G + B ~ 31%. #6D027D is quite dark color.
R + G + B =
109 + 2 + 125 = 236 (100%)
R 109 of 236 ~ 46.19%
G 2 of 236 ~ 0.85%
B 125 of 236 ~ 52.97%
#6D027D color CMYK value is (13,98,0,51).
CMYK: (13,98,0,51) C13M98Y0K51 (13%,98%,0%,51%) (0.13/0.98/0.00/0.51)
6D | 02 | 7D | |
---|---|---|---|
RGB | 109 | 2 | 125 |
HSL | 292° | 96.85% | 24.90% |
HSB/HSV | 292° | 98.40% | 49.02% |
CMYK | 12.80% | 98.40% | 0.00% |
50.98% |
HEX | 6D | 02 | 7D |
Decimal | 109 | 2 | 125 |
Binary | 1101101 | 10 | 1111101 |
Octal | 155 | 2 | 175 |
Examples of css and html codes for elements with #6D027D color. Also use rgb(109,2,125) instead hex code.
.myTextColor { color: #6D027D; }
<p style="color:#6D027D">This sample text font color is #6D027D.</p>
This text font color is #6D027D.
.myBgColor { background-color: #6D027D; }
<div style="background-color:#6D027D">Inner text</div>
This div background color is #6D027D.
.myBorderColor { border: 1px solid #6D027D; }
<div style="border:3px solid #6D027D">Div</div>
This div border color is #6D027D.
.myOpacity80 { color: #6D027D; opacity: 0.8; }
<p style="color:#6D027D;opacity:0.8;">80%</p>
Text with #6D027D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D027D;}
<p style="text-shadow: 3px 3px 1px #6D027D">Text here.</p>
This text has shadow with #6D027D color.
.textShadow {text-shadow: 3px 3px 1px #6D027D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D027D, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D027D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D027D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D027D, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D027D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D027D; -webkit-box-shadow: 1px 1px 3px 2px #6D027D; box-shadow: 1px 1px 3px 2px #6D027D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D027D; -webkit-box-shadow: 1px 1px 3px 2px #6D027D; box-shadow:1px 1px 3px 2px #6D027D;">
Div content here</div>
This text has color #6D027D on black background.
This text has color #6D027D on white background.
This text has black color on #6D027D background.
This text has white color on #6D027D background.