HEX: #F6B21D
RGB: (246,178,29)
#F6B21D contains mainly red color. Web safe color of #F6B21D is #FF9933 (or #F93).
#F6B21D color RGB value is (246,178,29).
RGB: (246,178,29) (96%,70%,11%)
R 246 of 255 = 96%
G 178 of 255 = 70%
B 29 of 255 = 11%
R + G + B ~ 59%. #F6B21D is middle color (not dark and not light).
R + G + B =
246 + 178 + 29 = 453 (100%)
R 246 of 453 ~ 54.3%
G 178 of 453 ~ 39.29%
B 29 of 453 ~ 6.4%
#F6B21D color CMYK value is (0,28,88,4).
CMYK: (0,28,88,4) C0M28Y88K4 (0%,28%,88%,4%) (0.00/0.28/0.88/0.04)
F6 | B2 | 1D | |
---|---|---|---|
RGB | 246 | 178 | 29 |
HSL | 41° | 92.34% | 53.92% |
HSB/HSV | 41° | 88.21% | 96.47% |
CMYK | 0.00% | 27.64% | 88.21% |
3.53% |
HEX | F6 | B2 | 1D |
Decimal | 246 | 178 | 29 |
Binary | 11110110 | 10110010 | 11101 |
Octal | 366 | 262 | 35 |
Examples of css and html codes for elements with #F6B21D color. Also use rgb(246,178,29) instead hex code.
.myTextColor { color: #F6B21D; }
<p style="color:#F6B21D">This sample text font color is #F6B21D.</p>
This text font color is #F6B21D.
.myBgColor { background-color: #F6B21D; }
<div style="background-color:#F6B21D">Inner text</div>
This div background color is #F6B21D.
.myBorderColor { border: 1px solid #F6B21D; }
<div style="border:3px solid #F6B21D">Div</div>
This div border color is #F6B21D.
.myOpacity80 { color: #F6B21D; opacity: 0.8; }
<p style="color:#F6B21D;opacity:0.8;">80%</p>
Text with #F6B21D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F6B21D;}
<p style="text-shadow: 3px 3px 1px #F6B21D">Text here.</p>
This text has shadow with #F6B21D color.
.textShadow {text-shadow: 3px 3px 1px #F6B21D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F6B21D, 5px 5px 20px red">Text here.</p>
This text has shadow with #F6B21D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F6B21D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F6B21D, Direction=45, Strength=4)">Text</p>
This text has shadow with #F6B21D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F6B21D; -webkit-box-shadow: 1px 1px 3px 2px #F6B21D; box-shadow: 1px 1px 3px 2px #F6B21D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F6B21D; -webkit-box-shadow: 1px 1px 3px 2px #F6B21D; box-shadow:1px 1px 3px 2px #F6B21D;">
Div content here</div>
This text has color #F6B21D on black background.
This text has color #F6B21D on white background.
This text has black color on #F6B21D background.
This text has white color on #F6B21D background.