HEX: #F7B215
RGB: (247,178,21)
#F7B215 contains mainly red color. Web safe color of #F7B215 is #FF9900 (or #F90).
#F7B215 color RGB value is (247,178,21).
RGB: (247,178,21) (97%,70%,8%)
R 247 of 255 = 97%
G 178 of 255 = 70%
B 21 of 255 = 8%
R + G + B ~ 58%. #F7B215 is middle color (not dark and not light).
R + G + B =
247 + 178 + 21 = 446 (100%)
R 247 of 446 ~ 55.38%
G 178 of 446 ~ 39.91%
B 21 of 446 ~ 4.71%
#F7B215 color CMYK value is (0,28,91,3).
CMYK: (0,28,91,3) C0M28Y91K3 (0%,28%,91%,3%) (0.00/0.28/0.91/0.03)
F7 | B2 | 15 | |
---|---|---|---|
RGB | 247 | 178 | 21 |
HSL | 42° | 93.39% | 52.55% |
HSB/HSV | 42° | 91.50% | 96.86% |
CMYK | 0.00% | 27.94% | 91.50% |
3.14% |
HEX | F7 | B2 | 15 |
Decimal | 247 | 178 | 21 |
Binary | 11110111 | 10110010 | 10101 |
Octal | 367 | 262 | 25 |
Examples of css and html codes for elements with #F7B215 color. Also use rgb(247,178,21) instead hex code.
.myTextColor { color: #F7B215; }
<p style="color:#F7B215">This sample text font color is #F7B215.</p>
This text font color is #F7B215.
.myBgColor { background-color: #F7B215; }
<div style="background-color:#F7B215">Inner text</div>
This div background color is #F7B215.
.myBorderColor { border: 1px solid #F7B215; }
<div style="border:3px solid #F7B215">Div</div>
This div border color is #F7B215.
.myOpacity80 { color: #F7B215; opacity: 0.8; }
<p style="color:#F7B215;opacity:0.8;">80%</p>
Text with #F7B215 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F7B215;}
<p style="text-shadow: 3px 3px 1px #F7B215">Text here.</p>
This text has shadow with #F7B215 color.
.textShadow {text-shadow: 3px 3px 1px #F7B215, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F7B215, 5px 5px 20px red">Text here.</p>
This text has shadow with #F7B215 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F7B215, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F7B215, Direction=45, Strength=4)">Text</p>
This text has shadow with #F7B215 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F7B215; -webkit-box-shadow: 1px 1px 3px 2px #F7B215; box-shadow: 1px 1px 3px 2px #F7B215; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F7B215; -webkit-box-shadow: 1px 1px 3px 2px #F7B215; box-shadow:1px 1px 3px 2px #F7B215;">
Div content here</div>
This text has color #F7B215 on black background.
This text has color #F7B215 on white background.
This text has black color on #F7B215 background.
This text has white color on #F7B215 background.