Hex color #ffa500, RGB(255, 165, 0) - also known as orange - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #ffa500 is a shade of red-yellow. In a RGB color space it is composed of 100% red, 64.71% green and 0% blue. In HSL notation it has 38.8° hue, 100% saturation and 50% lightness. The process color (CMYK) is combination of 0% cyan, 35.29% magenta, 100% yellow and 0% key (black). The closest short hexadecimal code of #ffa500 is #fa0.
Example CSS code:
.setFontColor { color: #ffa500; }
.setBackgroundColor { background-color: #ffa500; }
How to set font color?
<p style="color:#ffa500">Font color is #ffa500.</p>
Font color is #ffa500.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#ffa500">Background color is #ffa500.</div>
Background color is #ffa500.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore