:
logo qtransform

  to  




#AF228A color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #AF228A
#AF228A

   In a RGB color space, hex #AF228A is composed of 69% red, 13% green and 54% blue.
RGB color code is composed of a hexadecimal AF red (175/255), a 22 green (34/255) and a 8A blue component (138/255). The decimal RGB color code is rgb(175,34,138)
In CMYK color space, it is composed of 0% cyan, 81% magenta, 21% yellow and 31% black.
It has a hue angle of 315.74o degrees, a saturation of 67% and a lightness of 41%.
Closest websafe color is: #993399 rgb (153, 51, 153).
twitter  facebook  whatsapp


Color conversion




#AF228A
rgb(175,34,138)
=69%
from 255
13%
from 255
54%
from 255
=0
from 100
81
from 100
21
from 100
31
from 100
R: 175
red
G: 34
green
B: 138
blue
C: 0
cyan
M: 81
magenta
Y: 21
yellow
K: 31
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #AF228A has RGB values of R:175, G:34, B:138 and CMYK values of C:0, M:81, Y:21, K:31. Its decimal value is 11477642.Binary code is 101011110010001010001010
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex colorAF228A #AF228A
RGB decimal175, 34, 138 rgb(175, 34, 138)
RGB %69, 13, 54 rgb(69%, 13%, 54%)
RGB Adobe150, 39, 134
CMYK %0, 81, 21, 31 0%, 81%, 21%, 31%
HSL315.74o, 67, 41 hsl(315.74o, 67%, 41%)
HSV (HSB)316o, 81%, 69% hsv(316o, 81%, 69%)
Web Safe color#993399 rgb (153, 51, 153)
XYZ22.839, 12.093 25.175
xyY0.38, 0.2, 12.09
Hunter-Lab34.77, 59.16, -21.26
CMY31%, 87%, 46%
Lab41.57, 61.69, -23.11
Binary color
AF 22 8A
10101111 100010 10001010

Shades and tints of #AF228A


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

Tint color variation #AF228A


Shade color variation


Tones of #AF228A
A tone is produced by adding gray to any pure hue. In this case, #AA2B89 is the less saturated color, and #916085 is the most saturated one.


Alternatives to #AF228A


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


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

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

HTML code

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



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

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

CSS code

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

CSS code

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



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

text shadow with RGB values

HTML code

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

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(175, 34, 138, 1.4);



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


Color schemes with #AF228A


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: 81% has a #AF228A saturation. Adding 81% + 10% = 91% saturation for our new color #8A0C68. Decreasing 81% - 10% = 71% saturation for other monochromatic color #D63EAE.

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: #AF228A has a 316o angle. Adding 316o + 180o = 136oo for our new complementary color #21B047.

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: #AF228A has a 316o angle. Adding 316o + 180o+30o = 166o for our first complementary color #21B08F. Decreasing 316o + 180o-30o = 106o for the second complementary color #43B021.

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.