HEX: #552B57
RGB: (85,43,87)
#552B57 contains red, green and blue colors in about the same proportion. Web safe color of #552B57 is #663366 (or #636).
#552B57 color RGB value is (85,43,87).
RGB: (85,43,87) (33%,17%,34%)
R 85 of 255 = 33%
G 43 of 255 = 17%
B 87 of 255 = 34%
R + G + B ~ 28%. #552B57 is quite dark color.
R + G + B =
85 + 43 + 87 = 215 (100%)
R 85 of 215 ~ 39.53%
G 43 of 215 ~ 20%
B 87 of 215 ~ 40.47%
#552B57 color CMYK value is (2,51,0,66).
CMYK: (2,51,0,66) C2M51Y0K66 (2%,51%,0%,66%) (0.02/0.51/0.00/0.66)
55 | 2B | 57 | |
---|---|---|---|
RGB | 85 | 43 | 87 |
HSL | 297° | 33.85% | 25.49% |
HSB/HSV | 297° | 50.57% | 34.12% |
CMYK | 2.30% | 50.57% | 0.00% |
65.88% |
HEX | 55 | 2B | 57 |
Decimal | 85 | 43 | 87 |
Binary | 1010101 | 101011 | 1010111 |
Octal | 125 | 53 | 127 |
Examples of css and html codes for elements with #552B57 color. Also use rgb(85,43,87) instead hex code.
.myTextColor { color: #552B57; }
<p style="color:#552B57">This sample text font color is #552B57.</p>
This text font color is #552B57.
.myBgColor { background-color: #552B57; }
<div style="background-color:#552B57">Inner text</div>
This div background color is #552B57.
.myBorderColor { border: 1px solid #552B57; }
<div style="border:3px solid #552B57">Div</div>
This div border color is #552B57.
.myOpacity80 { color: #552B57; opacity: 0.8; }
<p style="color:#552B57;opacity:0.8;">80%</p>
Text with #552B57 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #552B57;}
<p style="text-shadow: 3px 3px 1px #552B57">Text here.</p>
This text has shadow with #552B57 color.
.textShadow {text-shadow: 3px 3px 1px #552B57, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #552B57, 5px 5px 20px red">Text here.</p>
This text has shadow with #552B57 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#552B57, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#552B57, Direction=45, Strength=4)">Text</p>
This text has shadow with #552B57 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #552B57; -webkit-box-shadow: 1px 1px 3px 2px #552B57; box-shadow: 1px 1px 3px 2px #552B57; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #552B57; -webkit-box-shadow: 1px 1px 3px 2px #552B57; box-shadow:1px 1px 3px 2px #552B57;">
Div content here</div>
This text has color #552B57 on black background.
This text has color #552B57 on white background.
This text has black color on #552B57 background.
This text has white color on #552B57 background.