:
logo qtransform

  to  




#D8158D color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #D8158D
#D8158D

   In a RGB color space, hex #D8158D is composed of 85% red, 8% green and 55% blue.
RGB color code is composed of a hexadecimal D8 red (216/255), a 15 green (21/255) and a 8D blue component (141/255). The decimal RGB color code is rgb(216,21,141)
In CMYK color space, it is composed of 0% cyan, 90% magenta, 35% yellow and 15% black.
It has a hue angle of 323.08o degrees, a saturation of 82% and a lightness of 46%.
Closest websafe color is: #cc0099 rgb (204, 0, 153).
twitter  facebook  whatsapp


Color conversion




#D8158D
rgb(216,21,141)
=85%
from 255
8%
from 255
55%
from 255
=0
from 100
90
from 100
35
from 100
15
from 100
R: 216
red
G: 21
green
B: 141
blue
C: 0
cyan
M: 90
magenta
Y: 35
yellow
K: 15
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #D8158D has RGB values of R:216, G:21, B:141 and CMYK values of C:0, M:90, Y:35, K:15. Its decimal value is 14161293.Binary code is 110110000001010110001101
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex colorD8158D #D8158D
RGB decimal216, 21, 141 rgb(216, 21, 141)
RGB %85, 8, 55 rgb(85%, 8%, 55%)
RGB Adobe185, 27, 137
CMYK %0, 90, 35, 15 0%, 90%, 35%, 15%
HSL323.08o, 82, 46 hsl(323.08o, 82%, 46%)
HSV (HSB)323o, 90%, 85% hsv(323o, 90%, 85%)
Web Safe color#cc0099 rgb (204, 0, 153)
XYZ33.395, 17.058 26.732
xyY0.43, 0.22, 17.06
Hunter-Lab41.3, 75.44, -12.16
CMY15%, 92%, 45%
Lab48.8, 74.09, -13.08
Binary color
D8 15 8D
11011000 10101 10001101

Shades and tints of #D8158D


A shade is achieved by adding black to original color on hue code.
A tint is created by mixing color with white.
Use the palette to pick a color or the sliders to set the RGB, HSV, CMYK components.
For example here: #2B041C is the darkest color, and: #F8D1E9 is the lightest one.

Tint color variation #D8158D


Shade color variation


Tones of #D8158D
A tone is produced by adding gray to any pure hue. In this case, #CF208C is the less saturated color, and #9F5C85 is the most saturated one.


Alternatives to #D8158D


Below, you can see some colors close to #D8158D. Having a set of related colors can be useful if you need an inspirational alternative or other close colors to your original color choice.




Quick use #D8158D


How to use this color on webpages, scripts or other programming languages using html, CSS, dhtml, JAVA, .NET, openGL, Swift, Xojo

Color of the text Background color example
Color of the text
Background color example

<font color="#D8158D;">Text here</font>

<div style="background-color:#D8158D;">Text here</div>



Color preview on black background Color preview on white background
color preview on black background
color preview on white background
HTML code

<div style="background-color:#000000"> <font color="#D8158D;">Text here</font> </div>

HTML code

<div style="background-color:#FFFFFF; border: 1px dotted #999999;"> <font color="#D8158D;">Text here</font> </div>



Div box shadow Text shadow css code
box shadow for color #D8158D
text shadow css code
HTML code

<div style="background-color:#FFFFFF; box-shadow: 2px 2px 7px 1px #D8158D;"></div>

CSS code

.box-shadow: 2px 2px 7px 1px;

CSS code

.text-shadow: 1px 2px 2px #D8158D;



Box border html code Text shadow with RGB values for color #D8158D
box border html code for color #D8158D

text shadow with RGB values

HTML code

<div style="background-color:#FFFFFF; border:1px solid #D8158D;"></div>

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(216, 21, 141, 1.4);



Pre-formatted code D8158D code for script / programming
HTML, CSS: = #D8158D; rgb(216, 21, 141)
Java: = new Color(216, 21, 141)
.NET: = Color.FromArgb (216, 21, 141);
Xojo: = rgb (216, 21, 141, 0);
openGL: = glColor3f (0.85f, 0.08f, 0.55f);
Swift: = UIColor(red:0.85, green:0.08, blue:0.55, alpha:1.00000);
Objective-C: = [UIColor colorWithRed:0.85 green:0.08 blue:0.55 alpha:1.00000];


Color schemes with #D8158D


Monochromatic color
monochromatic color scheme

Monochromatic color schemes are easy to create because they use only one color. Monochromatic schemes use different tones from the same angle on the color wheel (the same angle).Just change color saturation +10% and you have a new monocromatic color. On our case color: 90% has a #D8158D saturation. Adding 90% + 10% = 100% saturation for our new color #B3006E. Decreasing 90% - 10% = 80% saturation for other monochromatic color #FF33B1.

Analogous color
analogous color scheme

Analogous color schemes are created by using colors that are next to each other on the color wheel. Just +/- 30o on sides of the color hue angle.

Complementary color
complementary color scheme
Complementary schemes are created by combining colors from opposite sides of the color wheel. Simple add 180 degrees to color hue / angle and you have the complementary color. On our case color: #D8158D has a 323o angle. Adding 323o + 180o = 143oo for our new complementary color #16D960.

Split color
split color scheme

Compound schemes or split complementary schemens are almost the same as complementary schemes.
Instead of using colors that are opposites, it uses colors on both sides of the opposite hue angle.
On our case color: #D8158D has a 323o angle. Adding 323o + 180o+30o = 173o for our first complementary color #16D9C2. Decreasing 323o + 180o-30o = 113o for the second complementary color #2CD916.

Tiradic color
tiradic color scheme

Triadic schemes are made up of hues/angles equally spaced around color wheel. Add and decrease +/- 120 degrees on both sides of the color hue angle.

Tetradic color
tetradic color scheme

Tetradic schemes are made up of hues/angles spaced around color wheel. Add 120,180,300 degrees on the color hue angle.