⤺ color picker
0
Reddit

#4000ff Color Hex

Hex color #4000ff, RGB(64, 0, 255) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #4000ff is a shade of blue-magenta. In a RGB color space it is composed of 25.1% red, 0% green and 100% blue. In HSL notation it has 255.1° hue, 100% saturation and 50% lightness. The process color (CMYK) is combination of 74.90% cyan, 100% magenta, 0% yellow and 0% key (black). The closest short hexadecimal code of #4000ff is #40f.

Color information

  • #4000ff is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 74.90%
    • Magenta: 100%
    • Yellow: 0%
    • Key color - black: 0%
  • In the HSL model coordinates are:
    • Hue: 255.1° degrees
    • Saturation: 100%
    • Lightness: 50%
  • The values in the RGB color space are:
    • Red: 64 (25.1%)
    • Green: 0 (0%)
    • Blue: 255 (100%)

Conversions

Hex:
#4000ff
CMYK:
C: 74.90%, M: 100%, Y: 0%, K: 0%
RGB:
R: 64, G: 0, B: 255
HSL:
H: 255.1°, S: 100%, L: 50%

Color harmonies

#4000ff color HTML and CSS codes

Example CSS code:

.setFontColor { color: #4000ff; }
.setBackgroundColor { background-color: #4000ff; }

#4000ff text/font color

How to set font color?

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

Font color is #4000ff.

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

#4000ff background color

How to set background color?

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

Background color is #4000ff.

Compromise in colors is grey.
- Edi Rama