HEX: #6D297D
RGB: (109,41,125)
#6D297D contains mainly red and blue colors. Web safe color of #6D297D is #663366 (or #636).
#6D297D color RGB value is (109,41,125).
RGB: (109,41,125) (43%,16%,49%)
R 109 of 255 = 43%
G 41 of 255 = 16%
B 125 of 255 = 49%
R + G + B ~ 36%. #6D297D is quite dark color.
R + G + B =
109 + 41 + 125 = 275 (100%)
R 109 of 275 ~ 39.64%
G 41 of 275 ~ 14.91%
B 125 of 275 ~ 45.45%
#6D297D color CMYK value is (13,67,0,51).
CMYK: (13,67,0,51) C13M67Y0K51 (13%,67%,0%,51%) (0.13/0.67/0.00/0.51)
6D | 29 | 7D | |
---|---|---|---|
RGB | 109 | 41 | 125 |
HSL | 289° | 50.60% | 32.55% |
HSB/HSV | 289° | 67.20% | 49.02% |
CMYK | 12.80% | 67.20% | 0.00% |
50.98% |
HEX | 6D | 29 | 7D |
Decimal | 109 | 41 | 125 |
Binary | 1101101 | 101001 | 1111101 |
Octal | 155 | 51 | 175 |
Examples of css and html codes for elements with #6D297D color. Also use rgb(109,41,125) instead hex code.
.myTextColor { color: #6D297D; }
<p style="color:#6D297D">This sample text font color is #6D297D.</p>
This text font color is #6D297D.
.myBgColor { background-color: #6D297D; }
<div style="background-color:#6D297D">Inner text</div>
This div background color is #6D297D.
.myBorderColor { border: 1px solid #6D297D; }
<div style="border:3px solid #6D297D">Div</div>
This div border color is #6D297D.
.myOpacity80 { color: #6D297D; opacity: 0.8; }
<p style="color:#6D297D;opacity:0.8;">80%</p>
Text with #6D297D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D297D;}
<p style="text-shadow: 3px 3px 1px #6D297D">Text here.</p>
This text has shadow with #6D297D color.
.textShadow {text-shadow: 3px 3px 1px #6D297D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D297D, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D297D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D297D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D297D, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D297D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D297D; -webkit-box-shadow: 1px 1px 3px 2px #6D297D; box-shadow: 1px 1px 3px 2px #6D297D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D297D; -webkit-box-shadow: 1px 1px 3px 2px #6D297D; box-shadow:1px 1px 3px 2px #6D297D;">
Div content here</div>
This text has color #6D297D on black background.
This text has color #6D297D on white background.
This text has black color on #6D297D background.
This text has white color on #6D297D background.