HEX: #F7A228
RGB: (247,162,40)
#F7A228 contains mainly red color. Web safe color of #F7A228 is #FF9933 (or #F93).
#F7A228 color RGB value is (247,162,40).
RGB: (247,162,40) (97%,64%,16%)
R 247 of 255 = 97%
G 162 of 255 = 64%
B 40 of 255 = 16%
R + G + B ~ 59%. #F7A228 is middle color (not dark and not light).
R + G + B =
247 + 162 + 40 = 449 (100%)
R 247 of 449 ~ 55.01%
G 162 of 449 ~ 36.08%
B 40 of 449 ~ 8.91%
#F7A228 color CMYK value is (0,34,84,3).
CMYK: (0,34,84,3) C0M34Y84K3 (0%,34%,84%,3%) (0.00/0.34/0.84/0.03)
F7 | A2 | 28 | |
---|---|---|---|
RGB | 247 | 162 | 40 |
HSL | 35° | 92.83% | 56.27% |
HSB/HSV | 35° | 83.81% | 96.86% |
CMYK | 0.00% | 34.41% | 83.81% |
3.14% |
HEX | F7 | A2 | 28 |
Decimal | 247 | 162 | 40 |
Binary | 11110111 | 10100010 | 101000 |
Octal | 367 | 242 | 50 |
Examples of css and html codes for elements with #F7A228 color. Also use rgb(247,162,40) instead hex code.
.myTextColor { color: #F7A228; }
<p style="color:#F7A228">This sample text font color is #F7A228.</p>
This text font color is #F7A228.
.myBgColor { background-color: #F7A228; }
<div style="background-color:#F7A228">Inner text</div>
This div background color is #F7A228.
.myBorderColor { border: 1px solid #F7A228; }
<div style="border:3px solid #F7A228">Div</div>
This div border color is #F7A228.
.myOpacity80 { color: #F7A228; opacity: 0.8; }
<p style="color:#F7A228;opacity:0.8;">80%</p>
Text with #F7A228 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F7A228;}
<p style="text-shadow: 3px 3px 1px #F7A228">Text here.</p>
This text has shadow with #F7A228 color.
.textShadow {text-shadow: 3px 3px 1px #F7A228, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F7A228, 5px 5px 20px red">Text here.</p>
This text has shadow with #F7A228 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F7A228, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F7A228, Direction=45, Strength=4)">Text</p>
This text has shadow with #F7A228 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F7A228; -webkit-box-shadow: 1px 1px 3px 2px #F7A228; box-shadow: 1px 1px 3px 2px #F7A228; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F7A228; -webkit-box-shadow: 1px 1px 3px 2px #F7A228; box-shadow:1px 1px 3px 2px #F7A228;">
Div content here</div>
This text has color #F7A228 on black background.
This text has color #F7A228 on white background.
This text has black color on #F7A228 background.
This text has white color on #F7A228 background.