⤺ color picker
0
Reddit

#a28afd Color Hex

Hex color #a28afd, RGB(162, 138, 253) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #a28afd is a shade of blue. In a RGB color space it is composed of 63.53% red, 54.12% green and 99.22% blue. In HSL notation it has 252.5° hue, 96.6% saturation and 76.7% lightness. The process color (CMYK) is combination of 35.97% cyan, 45.45% magenta, 0% yellow and 0.78% key (black). The closest short hexadecimal code of #a28afd is #a8f.

Color information

  • #a28afd is a shade of blue.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 35.97%
    • Magenta: 45.45%
    • Yellow: 0%
    • Key color - black: 0.78%
  • In the HSL model coordinates are:
    • Hue: 252.5° degrees
    • Saturation: 96.6%
    • Lightness: 76.7%
  • The values in the RGB color space are:
    • Red: 162 (63.53%)
    • Green: 138 (54.12%)
    • Blue: 253 (99.22%)

Conversions

Hex:
#a28afd
CMYK:
C: 35.97%, M: 45.45%, Y: 0%, K: 0.78%
RGB:
R: 162, G: 138, B: 253
HSL:
H: 252.5°, S: 96.6%, L: 76.7%

Color harmonies

#a28afd color HTML and CSS codes

Example CSS code:

.setFontColor { color: #a28afd; }
.setBackgroundColor { background-color: #a28afd; }

#a28afd text/font color

How to set font color?

<p style="color:#a28afd">Font color is #a28afd.</p>

Font color is #a28afd.

Compromise in colors is grey.
- Edi Rama

#a28afd background color

How to set background color?

<div style="background-color:#a28afd">Background color is #a28afd.</div>

Background color is #a28afd.

Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage