HEX: #B25F42
RGB: (178,95,66)
#B25F42 contains mainly red color. Web safe color of #B25F42 is #996633 (or #963).
#B25F42 color RGB value is (178,95,66).
RGB: (178,95,66) (70%,37%,26%)
R 178 of 255 = 70%
G 95 of 255 = 37%
B 66 of 255 = 26%
R + G + B ~ 44%. #B25F42 is middle color (not dark and not light).
R + G + B =
178 + 95 + 66 = 339 (100%)
R 178 of 339 ~ 52.51%
G 95 of 339 ~ 28.02%
B 66 of 339 ~ 19.47%
#B25F42 color CMYK value is (0,47,63,30).
CMYK: (0,47,63,30) C0M47Y63K30 (0%,47%,63%,30%) (0.00/0.47/0.63/0.30)
B2 | 5F | 42 | |
---|---|---|---|
RGB | 178 | 95 | 66 |
HSL | 16° | 45.90% | 47.84% |
HSB/HSV | 16° | 62.92% | 69.80% |
CMYK | 0.00% | 46.63% | 62.92% |
30.20% |
HEX | B2 | 5F | 42 |
Decimal | 178 | 95 | 66 |
Binary | 10110010 | 1011111 | 1000010 |
Octal | 262 | 137 | 102 |
Examples of css and html codes for elements with #B25F42 color. Also use rgb(178,95,66) instead hex code.
.myTextColor { color: #B25F42; }
<p style="color:#B25F42">This sample text font color is #B25F42.</p>
This text font color is #B25F42.
.myBgColor { background-color: #B25F42; }
<div style="background-color:#B25F42">Inner text</div>
This div background color is #B25F42.
.myBorderColor { border: 1px solid #B25F42; }
<div style="border:3px solid #B25F42">Div</div>
This div border color is #B25F42.
.myOpacity80 { color: #B25F42; opacity: 0.8; }
<p style="color:#B25F42;opacity:0.8;">80%</p>
Text with #B25F42 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B25F42;}
<p style="text-shadow: 3px 3px 1px #B25F42">Text here.</p>
This text has shadow with #B25F42 color.
.textShadow {text-shadow: 3px 3px 1px #B25F42, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B25F42, 5px 5px 20px red">Text here.</p>
This text has shadow with #B25F42 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B25F42, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B25F42, Direction=45, Strength=4)">Text</p>
This text has shadow with #B25F42 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B25F42; -webkit-box-shadow: 1px 1px 3px 2px #B25F42; box-shadow: 1px 1px 3px 2px #B25F42; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B25F42; -webkit-box-shadow: 1px 1px 3px 2px #B25F42; box-shadow:1px 1px 3px 2px #B25F42;">
Div content here</div>
This text has color #B25F42 on black background.
This text has color #B25F42 on white background.
This text has black color on #B25F42 background.
This text has white color on #B25F42 background.