⤺ color picker
0
Reddit

#2a52e1 Color Hex

Hex color #2a52e1, RGB(42, 82, 225) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #2a52e1 is a shade of blue. In a RGB color space it is composed of 16.47% red, 32.16% green and 88.24% blue. In HSL notation it has 226.9° hue, 75.3% saturation and 52.4% lightness. The process color (CMYK) is combination of 81.33% cyan, 63.56% magenta, 0% yellow and 11.76% key (black). The closest short hexadecimal code of #2a52e1 is #25e.

Color information

  • #2a52e1 is a shade of blue.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 81.33%
    • Magenta: 63.56%
    • Yellow: 0%
    • Key color - black: 11.76%
  • In the HSL model coordinates are:
    • Hue: 226.9° degrees
    • Saturation: 75.3%
    • Lightness: 52.4%
  • The values in the RGB color space are:
    • Red: 42 (16.47%)
    • Green: 82 (32.16%)
    • Blue: 225 (88.24%)

Conversions

Hex:
#2a52e1
CMYK:
C: 81.33%, M: 63.56%, Y: 0%, K: 11.76%
RGB:
R: 42, G: 82, B: 225
HSL:
H: 226.9°, S: 75.3%, L: 52.4%

Color harmonies

#2a52e1 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #2a52e1; }
.setBackgroundColor { background-color: #2a52e1; }

#2a52e1 text/font color

How to set font color?

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

Font color is #2a52e1.

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

#2a52e1 background color

How to set background color?

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

Background color is #2a52e1.

Compromise in colors is grey.
- Edi Rama