color codes Logo

#d8158c color codes

#D8158C
(216,21,140)
0 Favorites   0 Comments

Color spaces of #d8158c

RGB 21621140
HSL0.900.820.46
HSV323°90°85°
CMYK 0.000.900.35   0.15
XYZ33.320717.028726.3416
Yxy17.02870.43450.2220
Hunter Lab41.265871.9172-8.9610
CIE-Lab48.296275.4177-13.7654

#d8158c color RGB value is (216,21,140).

#d8158c hex color red value is 216, green value is 21 and the blue value of its RGB is 140. Cylindrical-coordinate representations (also known as HSL) of color #d8158c hue: 0.90 , saturation: 0.82 and the lightness value of d8158c is 0.46.

The process color (four color CMYK) of #d8158c color code is 0.00, 0.90, 0.35, 0.15. Web safe color of #d8158c is #cc0099. Color #d8158c contains mainly RED color.

Base Numbers

BaseRedGreenBlue
Binary 11011000 00010101 10001100
Octal 330 25 214
Decimal 216 21 140
Hex D8 15 8C

RGB Percentages of Color #d8158c

%57.29
%5.57
%37.14

CMYK Percentages of Color #d8158c

%0
%90
%35
%15

Triadic Colors of #d8158c

#d8158c #8cd815 #158cd8

Analogous Colors of #d8158c

#d8158c #d8152a #c315d8

Monochromatic Colors of #d8158c

#d8158c

Complementary Color

#d8158c #15d861

#d8158c Color Preview on Black Background

Lorem ipsum dolor sit amet.

#d8158c Color Preview on White Background

Lorem ipsum dolor sit amet.

#d8158c Color CSS Codes

.mybgcolor {background-color:#d8158c; } 
.myforecolor {color:#d8158c; }
.mybordercolor {border:3px solid #d8158c; }

#d8158c Text Font Color

<p style="color:#d8158c">Text here</p>

This sample text font color is #d8158c
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.


#d8158c Background Color

<div style="background-color:#d8158c">
Div content here</div>

This div background color is #d8158c


#d8158c Border Color

<div style="border:3px solid #d8158c">
Div here</div>

This div border color is #d8158c


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(216,21,140, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #d8158c; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #d8158c;
  -webkit-box-shadow: 1px 1px 3px 2px #d8158c;
  box-shadow:         1px 1px 3px 2px #d8158c; }

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(216,21,140, 0.8);">Text here</p>

This text has shadow with rgb values.


Text Shadow with Hex Values

<p style="text-shadow: 4px 4px 2px #d8158c">Text here</p>

This text has shadow with hex values.


Div Box Shadow

<div style="-moz-box-shadow: 1px 1px 3px 2px #d8158c;
  -webkit-box-shadow: 1px 1px 3px 2px #d8158c;
  box-shadow:         1px 1px 3px 2px #d8158c;">
Div content here</div>

This div box has shadow with color #d8158c


Comments

No comments written yet.

Please login to write comment.