HEX: #6A728A
RGB: (106,114,138)
#6A728A contains red, green and blue colors in about the same proportion. Web safe color of #6A728A is #666699 (or #669).
#6A728A color RGB value is (106,114,138).
RGB: (106,114,138) (42%,45%,54%)
R 106 of 255 = 42%
G 114 of 255 = 45%
B 138 of 255 = 54%
R + G + B ~ 47%. #6A728A is middle color (not dark and not light).
R + G + B =
106 + 114 + 138 = 358 (100%)
R 106 of 358 ~ 29.61%
G 114 of 358 ~ 31.84%
B 138 of 358 ~ 38.55%
#6A728A color CMYK value is (23,17,0,46).
CMYK: (23,17,0,46) C23M17Y0K46 (23%,17%,0%,46%) (0.23/0.17/0.00/0.46)
6A | 72 | 8A | |
---|---|---|---|
RGB | 106 | 114 | 138 |
HSL | 225° | 13.11% | 47.84% |
HSB/HSV | 225° | 23.19% | 54.12% |
CMYK | 23.19% | 17.39% | 0.00% |
45.88% |
HEX | 6A | 72 | 8A |
Decimal | 106 | 114 | 138 |
Binary | 1101010 | 1110010 | 10001010 |
Octal | 152 | 162 | 212 |
Examples of css and html codes for elements with #6A728A color. Also use rgb(106,114,138) instead hex code.
.myTextColor { color: #6A728A; }
<p style="color:#6A728A">This sample text font color is #6A728A.</p>
This text font color is #6A728A.
.myBgColor { background-color: #6A728A; }
<div style="background-color:#6A728A">Inner text</div>
This div background color is #6A728A.
.myBorderColor { border: 1px solid #6A728A; }
<div style="border:3px solid #6A728A">Div</div>
This div border color is #6A728A.
.myOpacity80 { color: #6A728A; opacity: 0.8; }
<p style="color:#6A728A;opacity:0.8;">80%</p>
Text with #6A728A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6A728A;}
<p style="text-shadow: 3px 3px 1px #6A728A">Text here.</p>
This text has shadow with #6A728A color.
.textShadow {text-shadow: 3px 3px 1px #6A728A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6A728A, 5px 5px 20px red">Text here.</p>
This text has shadow with #6A728A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6A728A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6A728A, Direction=45, Strength=4)">Text</p>
This text has shadow with #6A728A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6A728A; -webkit-box-shadow: 1px 1px 3px 2px #6A728A; box-shadow: 1px 1px 3px 2px #6A728A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6A728A; -webkit-box-shadow: 1px 1px 3px 2px #6A728A; box-shadow:1px 1px 3px 2px #6A728A;">
Div content here</div>
This text has color #6A728A on black background.
This text has color #6A728A on white background.
This text has black color on #6A728A background.
This text has white color on #6A728A background.