HEX: #6B5285
RGB: (107,82,133)
#6B5285 contains red, green and blue colors in about the same proportion. Web safe color of #6B5285 is #666699 (or #669).
#6B5285 color RGB value is (107,82,133).
RGB: (107,82,133) (42%,32%,52%)
R 107 of 255 = 42%
G 82 of 255 = 32%
B 133 of 255 = 52%
R + G + B ~ 42%. #6B5285 is middle color (not dark and not light).
R + G + B =
107 + 82 + 133 = 322 (100%)
R 107 of 322 ~ 33.23%
G 82 of 322 ~ 25.47%
B 133 of 322 ~ 41.3%
#6B5285 color CMYK value is (20,38,0,48).
CMYK: (20,38,0,48) C20M38Y0K48 (20%,38%,0%,48%) (0.20/0.38/0.00/0.48)
6B | 52 | 85 | |
---|---|---|---|
RGB | 107 | 82 | 133 |
HSL | 269° | 23.72% | 42.16% |
HSB/HSV | 269° | 38.35% | 52.16% |
CMYK | 19.55% | 38.35% | 0.00% |
47.84% |
HEX | 6B | 52 | 85 |
Decimal | 107 | 82 | 133 |
Binary | 1101011 | 1010010 | 10000101 |
Octal | 153 | 122 | 205 |
Examples of css and html codes for elements with #6B5285 color. Also use rgb(107,82,133) instead hex code.
.myTextColor { color: #6B5285; }
<p style="color:#6B5285">This sample text font color is #6B5285.</p>
This text font color is #6B5285.
.myBgColor { background-color: #6B5285; }
<div style="background-color:#6B5285">Inner text</div>
This div background color is #6B5285.
.myBorderColor { border: 1px solid #6B5285; }
<div style="border:3px solid #6B5285">Div</div>
This div border color is #6B5285.
.myOpacity80 { color: #6B5285; opacity: 0.8; }
<p style="color:#6B5285;opacity:0.8;">80%</p>
Text with #6B5285 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B5285;}
<p style="text-shadow: 3px 3px 1px #6B5285">Text here.</p>
This text has shadow with #6B5285 color.
.textShadow {text-shadow: 3px 3px 1px #6B5285, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B5285, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B5285 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B5285, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B5285, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B5285 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B5285; -webkit-box-shadow: 1px 1px 3px 2px #6B5285; box-shadow: 1px 1px 3px 2px #6B5285; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B5285; -webkit-box-shadow: 1px 1px 3px 2px #6B5285; box-shadow:1px 1px 3px 2px #6B5285;">
Div content here</div>
This text has color #6B5285 on black background.
This text has color #6B5285 on white background.
This text has black color on #6B5285 background.
This text has white color on #6B5285 background.