:
logo qtransform

  to  




#A8158A color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #A8158A
#A8158A

   In a RGB color space, hex #A8158A is composed of 66% red, 8% green and 54% blue.
RGB color code is composed of a hexadecimal A8 red (168/255), a 15 green (21/255) and a 8A blue component (138/255). The decimal RGB color code is rgb(168,21,138)
In CMYK color space, it is composed of 0% cyan, 88% magenta, 18% yellow and 34% black.
It has a hue angle of 312.24o degrees, a saturation of 78% and a lightness of 37%.
Closest websafe color is: #990099 rgb (153, 0, 153).
twitter  facebook  whatsapp


Color conversion




#A8158A
rgb(168,21,138)
=66%
from 255
8%
from 255
54%
from 255
=0
from 100
88
from 100
18
from 100
34
from 100
R: 168
red
G: 21
green
B: 138
blue
C: 0
cyan
M: 88
magenta
Y: 18
yellow
K: 34
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #A8158A has RGB values of R:168, G:21, B:138 and CMYK values of C:0, M:88, Y:18, K:34. Its decimal value is 11015562.Binary code is 101010000001010110001010
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex colorA8158A #A8158A
RGB decimal168, 21, 138 rgb(168, 21, 138)
RGB %66, 8, 54 rgb(66%, 8%, 54%)
RGB Adobe143, 28, 134
CMYK %0, 88, 18, 34 0%, 88%, 18%, 34%
HSL312.24o, 78, 37 hsl(312.24o, 78%, 37%)
HSV (HSB)312o, 88%, 66% hsv(312o, 88%, 66%)
Web Safe color#990099 rgb (153, 0, 153)
XYZ21.004, 10.696 25.002
xyY0.37, 0.19, 10.7
Hunter-Lab32.7, 60.09, -25.14
CMY34%, 92%, 46%
Lab39.23, 62.79, -26.87
Binary color
A8 15 8A
10101000 10101 10001010

Shades and tints of #A8158A


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: #21041A is the darkest color, and: #EED1E9 is the lightest one.

Tint color variation #A8158A


Shade color variation


Tones of #A8158A
A tone is produced by adding gray to any pure hue. In this case, #A42089 is the less saturated color, and #8E5C85 is the most saturated one.


Alternatives to #A8158A


Below, you can see some colors close to #A8158A. 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 #A8158A


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="#A8158A;">Text here</font>

<div style="background-color:#A8158A;">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="#A8158A;">Text here</font> </div>

HTML code

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



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

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

CSS code

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

CSS code

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



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

text shadow with RGB values

HTML code

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

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(168, 21, 138, 1.4);



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


Color schemes with #A8158A


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: 88% has a #A8158A saturation. Adding 88% + 10% = 98% saturation for our new color #820369. Decreasing 88% - 10% = 78% saturation for other monochromatic color #CF2DAE.

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: #A8158A has a 312o angle. Adding 312o + 180o = 132oo for our new complementary color #14A832.

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: #A8158A has a 312o angle. Adding 312o + 180o+30o = 162o for our first complementary color #14A87C. Decreasing 312o + 180o-30o = 102o for the second complementary color #41A814.

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.