HEX: #6A937D
RGB: (106,147,125)
#6A937D contains red, green and blue colors in about the same proportion. Web safe color of #6A937D is #669966 (or #696).
#6A937D color RGB value is (106,147,125).
RGB: (106,147,125) (42%,58%,49%)
R 106 of 255 = 42%
G 147 of 255 = 58%
B 125 of 255 = 49%
R + G + B ~ 50%. #6A937D is middle color (not dark and not light).
R + G + B =
106 + 147 + 125 = 378 (100%)
R 106 of 378 ~ 28.04%
G 147 of 378 ~ 38.89%
B 125 of 378 ~ 33.07%
#6A937D color CMYK value is (28,0,15,42).
CMYK: (28,0,15,42) C28M0Y15K42 (28%,0%,15%,42%) (0.28/0.00/0.15/0.42)
6A | 93 | 7D | |
---|---|---|---|
RGB | 106 | 147 | 125 |
HSL | 148° | 16.21% | 49.61% |
HSB/HSV | 148° | 27.89% | 57.65% |
CMYK | 27.89% | 0.00% | 14.97% |
42.35% |
HEX | 6A | 93 | 7D |
Decimal | 106 | 147 | 125 |
Binary | 1101010 | 10010011 | 1111101 |
Octal | 152 | 223 | 175 |
Examples of css and html codes for elements with #6A937D color. Also use rgb(106,147,125) instead hex code.
.myTextColor { color: #6A937D; }
<p style="color:#6A937D">This sample text font color is #6A937D.</p>
This text font color is #6A937D.
.myBgColor { background-color: #6A937D; }
<div style="background-color:#6A937D">Inner text</div>
This div background color is #6A937D.
.myBorderColor { border: 1px solid #6A937D; }
<div style="border:3px solid #6A937D">Div</div>
This div border color is #6A937D.
.myOpacity80 { color: #6A937D; opacity: 0.8; }
<p style="color:#6A937D;opacity:0.8;">80%</p>
Text with #6A937D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6A937D;}
<p style="text-shadow: 3px 3px 1px #6A937D">Text here.</p>
This text has shadow with #6A937D color.
.textShadow {text-shadow: 3px 3px 1px #6A937D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6A937D, 5px 5px 20px red">Text here.</p>
This text has shadow with #6A937D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6A937D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6A937D, Direction=45, Strength=4)">Text</p>
This text has shadow with #6A937D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6A937D; -webkit-box-shadow: 1px 1px 3px 2px #6A937D; box-shadow: 1px 1px 3px 2px #6A937D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6A937D; -webkit-box-shadow: 1px 1px 3px 2px #6A937D; box-shadow:1px 1px 3px 2px #6A937D;">
Div content here</div>
This text has color #6A937D on black background.
This text has color #6A937D on white background.
This text has black color on #6A937D background.
This text has white color on #6A937D background.