⤺ color picker
0
Reddit

#ba0cb8 Color Hex

Hex color #ba0cb8, RGB(186, 12, 184) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #ba0cb8 is a shade of magenta. In a RGB color space it is composed of 72.94% red, 4.71% green and 72.16% blue. In HSL notation it has 300.7° hue, 87.9% saturation and 38.8% lightness. The process color (CMYK) is combination of 0% cyan, 93.55% magenta, 1.08% yellow and 27.06% key (black). The closest short hexadecimal code of #ba0cb8 is #b0b.

Color information

  • #ba0cb8 is a shade of magenta.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 93.55%
    • Yellow: 1.08%
    • Key color - black: 27.06%
  • In the HSL model coordinates are:
    • Hue: 300.7° degrees
    • Saturation: 87.9%
    • Lightness: 38.8%
  • The values in the RGB color space are:
    • Red: 186 (72.94%)
    • Green: 12 (4.71%)
    • Blue: 184 (72.16%)

Conversions

Hex:
#ba0cb8
CMYK:
C: 0%, M: 93.55%, Y: 1.08%, K: 27.06%
RGB:
R: 186, G: 12, B: 184
HSL:
H: 300.7°, S: 87.9%, L: 38.8%

Color harmonies

#ba0cb8 color HTML and CSS codes

Example CSS code:

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

#ba0cb8 text/font color

How to set font color?

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

Font color is #ba0cb8.

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

#ba0cb8 background color

How to set background color?

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

Background color is #ba0cb8.

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