⤺ color picker
0
Reddit

#ba7bc4 Color Hex

Hex color #ba7bc4, RGB(186, 123, 196) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #ba7bc4 is a shade of magenta. In a RGB color space it is composed of 72.94% red, 48.24% green and 76.86% blue. In HSL notation it has 291.8° hue, 38.2% saturation and 62.5% lightness. The process color (CMYK) is combination of 5.10% cyan, 37.24% magenta, 0% yellow and 23.14% key (black). The closest short hexadecimal code of #ba7bc4 is #b7c.

Color information

  • #ba7bc4 is a shade of magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 5.10%
    • Magenta: 37.24%
    • Yellow: 0%
    • Key color - black: 23.14%
  • In the HSL model coordinates are:
    • Hue: 291.8° degrees
    • Saturation: 38.2%
    • Lightness: 62.5%
  • The values in the RGB color space are:
    • Red: 186 (72.94%)
    • Green: 123 (48.24%)
    • Blue: 196 (76.86%)

Conversions

Hex:
#ba7bc4
CMYK:
C: 5.10%, M: 37.24%, Y: 0%, K: 23.14%
RGB:
R: 186, G: 123, B: 196
HSL:
H: 291.8°, S: 38.2%, L: 62.5%

Color harmonies

#ba7bc4 color HTML and CSS codes

Example CSS code:

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

#ba7bc4 text/font color

How to set font color?

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

Font color is #ba7bc4.

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

#ba7bc4 background color

How to set background color?

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

Background color is #ba7bc4.

Compromise in colors is grey.
- Edi Rama