HEX: #684F8B
RGB: (104,79,139)
#684F8B contains mainly red and blue colors. Web safe color of #684F8B is #666699 (or #669).
#684F8B color RGB value is (104,79,139).
RGB: (104,79,139) (41%,31%,55%)
R 104 of 255 = 41%
G 79 of 255 = 31%
B 139 of 255 = 55%
R + G + B ~ 42%. #684F8B is middle color (not dark and not light).
R + G + B =
104 + 79 + 139 = 322 (100%)
R 104 of 322 ~ 32.3%
G 79 of 322 ~ 24.53%
B 139 of 322 ~ 43.17%
#684F8B color CMYK value is (25,43,0,45).
CMYK: (25,43,0,45) C25M43Y0K45 (25%,43%,0%,45%) (0.25/0.43/0.00/0.45)
68 | 4F | 8B | |
---|---|---|---|
RGB | 104 | 79 | 139 |
HSL | 265° | 27.52% | 42.75% |
HSB/HSV | 265° | 43.17% | 54.51% |
CMYK | 25.18% | 43.17% | 0.00% |
45.49% |
HEX | 68 | 4F | 8B |
Decimal | 104 | 79 | 139 |
Binary | 1101000 | 1001111 | 10001011 |
Octal | 150 | 117 | 213 |
Examples of css and html codes for elements with #684F8B color. Also use rgb(104,79,139) instead hex code.
.myTextColor { color: #684F8B; }
<p style="color:#684F8B">This sample text font color is #684F8B.</p>
This text font color is #684F8B.
.myBgColor { background-color: #684F8B; }
<div style="background-color:#684F8B">Inner text</div>
This div background color is #684F8B.
.myBorderColor { border: 1px solid #684F8B; }
<div style="border:3px solid #684F8B">Div</div>
This div border color is #684F8B.
.myOpacity80 { color: #684F8B; opacity: 0.8; }
<p style="color:#684F8B;opacity:0.8;">80%</p>
Text with #684F8B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #684F8B;}
<p style="text-shadow: 3px 3px 1px #684F8B">Text here.</p>
This text has shadow with #684F8B color.
.textShadow {text-shadow: 3px 3px 1px #684F8B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #684F8B, 5px 5px 20px red">Text here.</p>
This text has shadow with #684F8B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#684F8B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#684F8B, Direction=45, Strength=4)">Text</p>
This text has shadow with #684F8B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #684F8B; -webkit-box-shadow: 1px 1px 3px 2px #684F8B; box-shadow: 1px 1px 3px 2px #684F8B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #684F8B; -webkit-box-shadow: 1px 1px 3px 2px #684F8B; box-shadow:1px 1px 3px 2px #684F8B;">
Div content here</div>
This text has color #684F8B on black background.
This text has color #684F8B on white background.
This text has black color on #684F8B background.
This text has white color on #684F8B background.