Hex color #ffa1a1, RGB(255, 161, 161) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #ffa1a1 is a shade of red. In a RGB color space it is composed of 100% red, 63.14% green and 63.14% blue. In HSL notation it has 0° hue, 100% saturation and 81.6% lightness. The process color (CMYK) is combination of 0% cyan, 36.86% magenta, 36.86% yellow and 0% key (black). The closest short hexadecimal code of #ffa1a1 is #faa.
Example CSS code:
.setFontColor { color: #ffa1a1; }
.setBackgroundColor { background-color: #ffa1a1; }
How to set font color?
<p style="color:#ffa1a1">Font color is #ffa1a1.</p>
Font color is #ffa1a1.
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:#ffa1a1">Background color is #ffa1a1.</div>
Background color is #ffa1a1.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant