:
logo qtransform

  to  




#2A5F40 color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #2A5F40
#2A5F40

   In a RGB color space, hex #2A5F40 is composed of 16% red, 37% green and 25% blue.
RGB color code is composed of a hexadecimal 2A red (42/255), a 5F green (95/255) and a 40 blue component (64/255). The decimal RGB color code is rgb(42,95,64)
In CMYK color space, it is composed of 56% cyan, 0% magenta, 33% yellow and 63% black.
It has a hue angle of 144.91o degrees, a saturation of 39% and a lightness of 27%.
Closest websafe color is: #336633 rgb (51, 102, 51).
twitter  facebook  whatsapp


Color conversion




#2A5F40
rgb(42,95,64)
=16%
from 255
37%
from 255
25%
from 255
=56
from 100
0
from 100
33
from 100
63
from 100
R: 42
red
G: 95
green
B: 64
blue
C: 56
cyan
M: 0
magenta
Y: 33
yellow
K: 63
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #2A5F40 has RGB values of R:42, G:95, B:64 and CMYK values of C:56, M:0, Y:33, K:63. Its decimal value is 2776896.Binary code is 1010100101111101000000
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color2A5F40 #2A5F40
RGB decimal42, 95, 64 rgb(42, 95, 64)
RGB %16, 37, 25 rgb(16%, 37%, 25%)
RGB Adobe65, 95, 68
CMYK %56, 0, 33, 63 56%, 0%, 33%, 63%
HSL144.91o, 39, 27 hsl(144.91o, 39%, 27%)
HSV (HSB)145o, 56%, 37% hsv(145o, 56%, 37%)
Web Safe color#336633 rgb (51, 102, 51)
XYZ5.972, 9.047 6.282
xyY0.28, 0.42, 9.05
Hunter-Lab30.08, -15.84, 7.3
CMY84%, 63%, 75%
Lab36.04, -24.55, 12.21
Binary color
2A 5F 40
101010 1011111 1000000

Shades and tints of #2A5F40


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

Tint color variation #2A5F40


Shade color variation


Tones of #2A5F40
A tone is produced by adding gray to any pure hue. In this case, #336246 is the less saturated color, and #63746A is the most saturated one.


Alternatives to #2A5F40


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


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

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

HTML code

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



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

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

CSS code

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

CSS code

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



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

text shadow with RGB values

HTML code

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

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(42, 95, 64, 1.4);



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


Color schemes with #2A5F40


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: 56% has a #2A5F40 saturation. Adding 56% + 10% = 66% saturation for our new color #133823. Decreasing 56% - 10% = 46% saturation for other monochromatic color #488561.

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: #2A5F40 has a 145o angle. Adding 145o + 180o = 325oo for our new complementary color #5E2A48.

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: #2A5F40 has a 145o angle. Adding 145o + 180o+30o = 355o for our first complementary color #5E2A2E. Decreasing 145o + 180o-30o = 295o for the second complementary color #5A2A5E.

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.