HEX: #54825D
RGB: (84,130,93)
#54825D contains red, green and blue colors in about the same proportion. Web safe color of #54825D is #669966 (or #696).
#54825D color RGB value is (84,130,93).
RGB: (84,130,93) (33%,51%,36%)
R 84 of 255 = 33%
G 130 of 255 = 51%
B 93 of 255 = 36%
R + G + B ~ 40%. #54825D is middle color (not dark and not light).
R + G + B =
84 + 130 + 93 = 307 (100%)
R 84 of 307 ~ 27.36%
G 130 of 307 ~ 42.35%
B 93 of 307 ~ 30.29%
#54825D color CMYK value is (35,0,28,49).
CMYK: (35,0,28,49) C35M0Y28K49 (35%,0%,28%,49%) (0.35/0.00/0.28/0.49)
54 | 82 | 5D | |
---|---|---|---|
RGB | 84 | 130 | 93 |
HSL | 132° | 21.50% | 41.96% |
HSB/HSV | 132° | 35.38% | 50.98% |
CMYK | 35.38% | 0.00% | 28.46% |
49.02% |
HEX | 54 | 82 | 5D |
Decimal | 84 | 130 | 93 |
Binary | 1010100 | 10000010 | 1011101 |
Octal | 124 | 202 | 135 |
Examples of css and html codes for elements with #54825D color. Also use rgb(84,130,93) instead hex code.
.myTextColor { color: #54825D; }
<p style="color:#54825D">This sample text font color is #54825D.</p>
This text font color is #54825D.
.myBgColor { background-color: #54825D; }
<div style="background-color:#54825D">Inner text</div>
This div background color is #54825D.
.myBorderColor { border: 1px solid #54825D; }
<div style="border:3px solid #54825D">Div</div>
This div border color is #54825D.
.myOpacity80 { color: #54825D; opacity: 0.8; }
<p style="color:#54825D;opacity:0.8;">80%</p>
Text with #54825D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #54825D;}
<p style="text-shadow: 3px 3px 1px #54825D">Text here.</p>
This text has shadow with #54825D color.
.textShadow {text-shadow: 3px 3px 1px #54825D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #54825D, 5px 5px 20px red">Text here.</p>
This text has shadow with #54825D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#54825D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#54825D, Direction=45, Strength=4)">Text</p>
This text has shadow with #54825D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #54825D; -webkit-box-shadow: 1px 1px 3px 2px #54825D; box-shadow: 1px 1px 3px 2px #54825D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #54825D; -webkit-box-shadow: 1px 1px 3px 2px #54825D; box-shadow:1px 1px 3px 2px #54825D;">
Div content here</div>
This text has color #54825D on black background.
This text has color #54825D on white background.
This text has black color on #54825D background.
This text has white color on #54825D background.