HEX: #B2CC52
RGB: (178,204,82)
#B2CC52 contains mainly red and green colors. Web safe color of #B2CC52 is #99CC66 (or #9C6).
#B2CC52 color RGB value is (178,204,82).
RGB: (178,204,82) (70%,80%,32%)
R 178 of 255 = 70%
G 204 of 255 = 80%
B 82 of 255 = 32%
R + G + B ~ 61%. #B2CC52 is quite light color.
R + G + B =
178 + 204 + 82 = 464 (100%)
R 178 of 464 ~ 38.36%
G 204 of 464 ~ 43.97%
B 82 of 464 ~ 17.67%
#B2CC52 color CMYK value is (13,0,60,20).
CMYK: (13,0,60,20) C13M0Y60K20 (13%,0%,60%,20%) (0.13/0.00/0.60/0.20)
B2 | CC | 52 | |
---|---|---|---|
RGB | 178 | 204 | 82 |
HSL | 73° | 54.46% | 56.08% |
HSB/HSV | 73° | 59.80% | 80.00% |
CMYK | 12.75% | 0.00% | 59.80% |
20.00% |
HEX | B2 | CC | 52 |
Decimal | 178 | 204 | 82 |
Binary | 10110010 | 11001100 | 1010010 |
Octal | 262 | 314 | 122 |
Examples of css and html codes for elements with #B2CC52 color. Also use rgb(178,204,82) instead hex code.
.myTextColor { color: #B2CC52; }
<p style="color:#B2CC52">This sample text font color is #B2CC52.</p>
This text font color is #B2CC52.
.myBgColor { background-color: #B2CC52; }
<div style="background-color:#B2CC52">Inner text</div>
This div background color is #B2CC52.
.myBorderColor { border: 1px solid #B2CC52; }
<div style="border:3px solid #B2CC52">Div</div>
This div border color is #B2CC52.
.myOpacity80 { color: #B2CC52; opacity: 0.8; }
<p style="color:#B2CC52;opacity:0.8;">80%</p>
Text with #B2CC52 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B2CC52;}
<p style="text-shadow: 3px 3px 1px #B2CC52">Text here.</p>
This text has shadow with #B2CC52 color.
.textShadow {text-shadow: 3px 3px 1px #B2CC52, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B2CC52, 5px 5px 20px red">Text here.</p>
This text has shadow with #B2CC52 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B2CC52, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B2CC52, Direction=45, Strength=4)">Text</p>
This text has shadow with #B2CC52 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B2CC52; -webkit-box-shadow: 1px 1px 3px 2px #B2CC52; box-shadow: 1px 1px 3px 2px #B2CC52; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B2CC52; -webkit-box-shadow: 1px 1px 3px 2px #B2CC52; box-shadow:1px 1px 3px 2px #B2CC52;">
Div content here</div>
This text has color #B2CC52 on black background.
This text has color #B2CC52 on white background.
This text has black color on #B2CC52 background.
This text has white color on #B2CC52 background.