#ec149d - HEX HTML/CSS Color.

Information about hexadecimal (HEX) color #ec149d, converting to RGB and HSL.

The hexadecimal color code #ec149d after converting to RGB will be written as the following values: 236, 20, 157. And when converting to HSL - 322, 85%, 50%

The hexadecimal system is based on the number 16. The numbers in the hexadecimal sequence are as follows: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F. Numbers from 10 to 15 replaced by Latin letters. Numbers greater than 15 in this system are formed by combining two numbers into one.

The HEX value consists of three colors (#rrggbb, where r-red, g-green, b-blue. Each of the three colors - red, green and blue - can range from 00 to FF.

Color #ec149d is dark. Its brightness level is - 100.202 (the brightness level is counted as a number in the range from 0 to 255).


The full HEX color #ec149d in RGB will look like this:

rgb(236, 20, 157);

In rgb(x, x, x), 'x' is numbers from 0 to 255 that represent the amount of the corresponding color (red(RED), green(GREEN), blue(BLUE)).


When writing colors in HTML / CSS, HEX or RGB values ​​are most often used. You can also use keywords for named colors. Currently modern browsers can provide HSL support as well.

The complete HEX of color #ec149d in HSL will look like this:

hsl(322, 85%, 50%);

HSL is another type of color notation in HTML / CSS. The name of this format consists of the first letters of the values ​​from which the color is assembled. Hue, Saturate, Lightness.

Hue the value of the color on the color wheel, which is specified in degrees. 0 ° corresponds to red, 120 ° to green, 240 ° to blue. The hue value can range from 0 to 359.

Saturate - the intensity of the color, measured as a percentage from 0% to 100%. A value of 0% is no color and a shade of gray, and 100% is the maximum saturation value.

Lightness - is a value that shows how bright the color is and is indicated as a percentage from 0% to 100%. A lower value is darker, and a higher value is lighter (0% is white and 100% is black).

RGB, HSL values ​​table for HEX #ec149d

Color:
HEX: #ec149d
RGB: rgb(236, 20, 157)
HSL: hsl(322, 85%, 50%)

Color #ec149d in grayscale (#808080):

#808080

The complimentary color for #ec149d is #14ec63.

A complimentary color is one that is opposite in the color wheel. Complementary colors reinforce each other, and when mixed, give a neutral gray without shades.

#14ec63

Triad (combination of 3 equally spaced colors) for color #ec149d:

#ec149d
#9dec14
#149dec

Tetrad (color scheme, a special variant of the dual color scheme with equal spacing between all colors. All four colors are evenly distributed around the color wheel, resulting in no clear dominance of one color) for color #ec149d:

#ec149d
#eccf14
#14ec63
#1431ec

A palette of similar colors for #ec149d (generated based on a 30-degree rotation of the color wheel):

#ec149d
#e514ec
#ec14c8
#ec149d
#ec1472
#ec1447

Monochromatic color palette for #ec149d:

#ec149d
#170210
#42062c
#6c0948
#970d64
#c11081

Table with the result of various manipulations (lightening, darkening, etc. with a step of 5%) over the color #ec149d:

Lighter (step 5%) Darker (step 5%) Brighter (step 5%) Discoloration (step 5%) Saturation (step 5%)
#ec149d #ec149d #ec149d #ec149d #ec149d
#ee2ca7 #d5118e #f921aa #e61a9b #f20e9f
#f043b1 #be0f7e #ff2eb7 #df219a #f907a0
#f25bbb #a60d6e #ff3ac3 #d92798 #ff01a2
#f472c4 #8e0c5f #ff47d0 #d32d96 #ff01a2
#f68ace #770a4f #ff54dd #cc3494 #ff01a2
#f7a2d8 #5f083f #ff61ea #c63a93 #ff01a2
#f9b9e2 #480630 #ff6df6 #c04091 #ff01a2
#fbd1ec #300420 #ff7aff #b9478f #ff01a2
#fde8f6 #180210 #ff87ff #b34d8e #ff01a2
#ffffff #010001 #ff94ff #ac538c #ff01a2
#ffffff #000000 #ffa0ff #a65a8a #ff01a2
#ffffff #000000 #ffadff #a06089 #ff01a2
#ffffff #000000 #ffbaff #996787 #ff01a2
#ffffff #000000 #ffc7ff #936d85 #ff01a2
#ffffff #000000 #ffd3ff #8d7383 #ff01a2
#ffffff #000000 #ffe0ff #867a82 #ff01a2
#ffffff #000000 #ffedff #808080 #ff01a2
#ffffff #000000 #fffaff #808080 #ff01a2
#ffffff #000000 #ffffff #808080 #ff01a2
#ffffff #000000 #ffffff #808080 #ff01a2

Background color (background-color).

Code:

<h1 style="background-color:#ec149d;">Title text h1</h1> <h1 style="background-color:rgb(236, 20, 157);">Title text h1</h1> <h1 style="background-color:hsl(322, 85%, 50%);">Title text h1</h1>

Цвет текста (color).

Код:

<h1 style="color:#ec149d;">Title text h1</h1> <h1 style="color:rgb(236, 20, 157);">Title text h1</h1> <h1 style="color:hsl(322, 85%, 50%);">Title text h1</h1>

Border color (border-color).

Код:

<h1 style="border-color:#ec149d;">Title text h1</h1> <h1 style="border-color:rgb(236, 20, 157);">Title text h1</h1> <h1 style="border-color:hsl(322, 85%, 50%);">Title text h1</h1>

It is also worth noting that the RGB and HSL color formats support an alpha channel (RGBa, HSLa), which sets the transparency level of the color. The alpha channel is written as a fourth value, which can take a value from 0 to 1, where 0 is completely transparent and 1 is opaque.

Format:

rgba(R, G, B, a); hsla(H, S%, L%, a);