HEX: #6B5784
RGB: (107,87,132)
#6B5784 contains red, green and blue colors in about the same proportion. Web safe color of #6B5784 is #666699 (or #669).
#6B5784 color RGB value is (107,87,132).
RGB: (107,87,132) (42%,34%,52%)
R 107 of 255 = 42%
G 87 of 255 = 34%
B 132 of 255 = 52%
R + G + B ~ 43%. #6B5784 is middle color (not dark and not light).
R + G + B =
107 + 87 + 132 = 326 (100%)
R 107 of 326 ~ 32.82%
G 87 of 326 ~ 26.69%
B 132 of 326 ~ 40.49%
#6B5784 color CMYK value is (19,34,0,48).
CMYK: (19,34,0,48) C19M34Y0K48 (19%,34%,0%,48%) (0.19/0.34/0.00/0.48)
6B | 57 | 84 | |
---|---|---|---|
RGB | 107 | 87 | 132 |
HSL | 267° | 20.55% | 42.94% |
HSB/HSV | 267° | 34.09% | 51.76% |
CMYK | 18.94% | 34.09% | 0.00% |
48.24% |
HEX | 6B | 57 | 84 |
Decimal | 107 | 87 | 132 |
Binary | 1101011 | 1010111 | 10000100 |
Octal | 153 | 127 | 204 |
Examples of css and html codes for elements with #6B5784 color. Also use rgb(107,87,132) instead hex code.
.myTextColor { color: #6B5784; }
<p style="color:#6B5784">This sample text font color is #6B5784.</p>
This text font color is #6B5784.
.myBgColor { background-color: #6B5784; }
<div style="background-color:#6B5784">Inner text</div>
This div background color is #6B5784.
.myBorderColor { border: 1px solid #6B5784; }
<div style="border:3px solid #6B5784">Div</div>
This div border color is #6B5784.
.myOpacity80 { color: #6B5784; opacity: 0.8; }
<p style="color:#6B5784;opacity:0.8;">80%</p>
Text with #6B5784 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B5784;}
<p style="text-shadow: 3px 3px 1px #6B5784">Text here.</p>
This text has shadow with #6B5784 color.
.textShadow {text-shadow: 3px 3px 1px #6B5784, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B5784, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B5784 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B5784, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B5784, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B5784 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B5784; -webkit-box-shadow: 1px 1px 3px 2px #6B5784; box-shadow: 1px 1px 3px 2px #6B5784; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B5784; -webkit-box-shadow: 1px 1px 3px 2px #6B5784; box-shadow:1px 1px 3px 2px #6B5784;">
Div content here</div>
This text has color #6B5784 on black background.
This text has color #6B5784 on white background.
This text has black color on #6B5784 background.
This text has white color on #6B5784 background.