:
logo qtransform

  to  




#2A1239 color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #2A1239
#2A1239

   In a RGB color space, hex #2A1239 is composed of 16% red, 7% green and 22% blue.
RGB color code is composed of a hexadecimal 2A red (42/255), a 12 green (18/255) and a 39 blue component (57/255). The decimal RGB color code is rgb(42,18,57)
In CMYK color space, it is composed of 26% cyan, 68% magenta, 0% yellow and 78% black.
It has a hue angle of 276.92o degrees, a saturation of 52% and a lightness of 15%.
Closest websafe color is: #330033 rgb (51, 0, 51).
twitter  facebook  whatsapp


Color conversion




#2A1239
rgb(42,18,57)
=16%
from 255
7%
from 255
22%
from 255
=26
from 100
68
from 100
0
from 100
78
from 100
R: 42
red
G: 18
green
B: 57
blue
C: 26
cyan
M: 68
magenta
Y: 0
yellow
K: 78
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #2A1239 has RGB values of R:42, G:18, B:57 and CMYK values of C:26, M:68, Y:0, K:78. Its decimal value is 2757177.Binary code is 1010100001001000111001
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color2A1239 #2A1239
RGB decimal42, 18, 57 rgb(42, 18, 57)
RGB %16, 7, 22 rgb(16%, 7%, 22%)
RGB Adobe41, 25, 59
CMYK %26, 68, 0, 78 26%, 68%, 0%, 78%
HSL276.92o, 52, 15 hsl(276.92o, 52%, 15%)
HSV (HSB)277o, 68%, 22% hsv(277o, 68%, 22%)
Web Safe color#330033 rgb (51, 0, 51)
XYZ1.91, 1.22 4.006
xyY0.27, 0.17, 1.22
Hunter-Lab11.05, 12.32, -14.93
CMY84%, 93%, 78%
Lab10.53, 18.95, -20.6
Binary color
2A 12 39
101010 10010 111001

Shades and tints of #2A1239


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: #09030C is the darkest color, and: #D5D0D8 is the lightest one.

Tint color variation #2A1239


Shade color variation


Tones of #2A1239
A tone is produced by adding gray to any pure hue. In this case, #331D40 is the less saturated color, and #635A67 is the most saturated one.


Alternatives to #2A1239


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


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

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

HTML code

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



Div box shadow Text shadow css code
box shadow for color #2A1239
text shadow css code
HTML code

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

CSS code

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

CSS code

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



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

text shadow with RGB values

HTML code

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

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(42, 18, 57, 1.4);



Pre-formatted code 2A1239 code for script / programming
HTML, CSS: = #2A1239; rgb(42, 18, 57)
Java: = new Color(42, 18, 57)
.NET: = Color.FromArgb (42, 18, 57);
Xojo: = rgb (42, 18, 57, 0);
openGL: = glColor3f (0.16f, 0.07f, 0.22f);
Swift: = UIColor(red:0.16, green:0.07, blue:0.22, alpha:1.00000);
Objective-C: = [UIColor colorWithRed:0.16 green:0.07 blue:0.22 alpha:1.00000];


Color schemes with #2A1239


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: 68% has a #2A1239 saturation. Adding 68% + 10% = 78% saturation for our new color #0D0412. Decreasing 68% - 10% = 58% saturation for other monochromatic color #49285E.

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: #2A1239 has a 277o angle. Adding 277o + 180o = 97oo for our new complementary color #213812.

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: #2A1239 has a 277o angle. Adding 277o + 180o+30o = 127o for our first complementary color #123816. Decreasing 277o + 180o-30o = 67o for the second complementary color #343812.

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.