⤺ color picker
0
Reddit

#340045 Color Hex

Hex color #340045, RGB(52, 0, 69) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #340045 is a shade of magenta. In a RGB color space it is composed of 20.39% red, 0% green and 27.06% blue. In HSL notation it has 285.2° hue, 100% saturation and 13.5% lightness. The process color (CMYK) is combination of 24.64% cyan, 100% magenta, 0% yellow and 72.94% key (black). The closest short hexadecimal code of #340045 is #304.

Color information

  • #340045 is a shade of magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 24.64%
    • Magenta: 100%
    • Yellow: 0%
    • Key color - black: 72.94%
  • In the HSL model coordinates are:
    • Hue: 285.2° degrees
    • Saturation: 100%
    • Lightness: 13.5%
  • The values in the RGB color space are:
    • Red: 52 (20.39%)
    • Green: 0 (0%)
    • Blue: 69 (27.06%)

Conversions

Hex:
#340045
CMYK:
C: 24.64%, M: 100%, Y: 0%, K: 72.94%
RGB:
R: 52, G: 0, B: 69
HSL:
H: 285.2°, S: 100%, L: 13.5%

Color harmonies

#340045 color HTML and CSS codes

Example CSS code:

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

#340045 text/font color

How to set font color?

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

Font color is #340045.

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

#340045 background color

How to set background color?

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

Background color is #340045.

Compromise in colors is grey.
- Edi Rama