HEX: #FFA700
RGB: (255,167,0)
#FFA700 contains mainly red color. Web safe color of #FFA700 is #FF9900 (or #F90).
#FFA700 color RGB value is (255,167,0).
RGB: (255,167,0) (100%,65%,0%)
R 255 of 255 = 100%
G 167 of 255 = 65%
B 0 of 255 = 0%
R + G + B ~ 55%. #FFA700 is middle color (not dark and not light).
R + G + B =
255 + 167 + 0 = 422 (100%)
R 255 of 422 ~ 60.43%
G 167 of 422 ~ 39.57%
B 0 of 422 ~ 0%
#FFA700 color CMYK value is (0,35,100,0).
CMYK: (0,35,100,0) C0M35Y100K0 (0%,35%,100%,0%) (0.00/0.35/1.00/0.00)
FF | A7 | 00 | |
---|---|---|---|
RGB | 255 | 167 | 0 |
HSL | 39° | 100.00% | 50.00% |
HSB/HSV | 39° | 100.00% | 100.00% |
CMYK | 0.00% | 34.51% | 100.00% |
0.00% |
HEX | FF | A7 | 00 |
Decimal | 255 | 167 | 0 |
Binary | 11111111 | 10100111 | 0 |
Octal | 377 | 247 | 0 |
Examples of css and html codes for elements with #FFA700 color. Also use rgb(255,167,0) instead hex code.
.myTextColor { color: #FFA700; }
<p style="color:#FFA700">This sample text font color is #FFA700.</p>
This text font color is #FFA700.
.myBgColor { background-color: #FFA700; }
<div style="background-color:#FFA700">Inner text</div>
This div background color is #FFA700.
.myBorderColor { border: 1px solid #FFA700; }
<div style="border:3px solid #FFA700">Div</div>
This div border color is #FFA700.
.myOpacity80 { color: #FFA700; opacity: 0.8; }
<p style="color:#FFA700;opacity:0.8;">80%</p>
Text with #FFA700 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FFA700;}
<p style="text-shadow: 3px 3px 1px #FFA700">Text here.</p>
This text has shadow with #FFA700 color.
.textShadow {text-shadow: 3px 3px 1px #FFA700, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FFA700, 5px 5px 20px red">Text here.</p>
This text has shadow with #FFA700 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FFA700, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FFA700, Direction=45, Strength=4)">Text</p>
This text has shadow with #FFA700 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FFA700; -webkit-box-shadow: 1px 1px 3px 2px #FFA700; box-shadow: 1px 1px 3px 2px #FFA700; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FFA700; -webkit-box-shadow: 1px 1px 3px 2px #FFA700; box-shadow:1px 1px 3px 2px #FFA700;">
Div content here</div>
This text has color #FFA700 on black background.
This text has color #FFA700 on white background.
This text has black color on #FFA700 background.
This text has white color on #FFA700 background.