:
logo qtransform

  to  




#2A7D28 color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #2A7D28
#2A7D28

   In a RGB color space, hex #2A7D28 is composed of 16% red, 49% green and 16% blue.
RGB color code is composed of a hexadecimal 2A red (42/255), a 7D green (125/255) and a 28 blue component (40/255). The decimal RGB color code is rgb(42,125,40)
In CMYK color space, it is composed of 66% cyan, 0% magenta, 68% yellow and 51% black.
It has a hue angle of 118.59o degrees, a saturation of 52% and a lightness of 32%.
Closest websafe color is: #336633 rgb (51, 102, 51).
twitter  facebook  whatsapp


Color conversion




#2A7D28
rgb(42,125,40)
=16%
from 255
49%
from 255
16%
from 255
=66
from 100
0
from 100
68
from 100
51
from 100
R: 42
red
G: 125
green
B: 40
blue
C: 66
cyan
M: 0
magenta
Y: 68
yellow
K: 51
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #2A7D28 has RGB values of R:42, G:125, B:40 and CMYK values of C:66, M:0, Y:68, K:51. Its decimal value is 2784552.Binary code is 1010100111110100101000
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color2A7D28 #2A7D28
RGB decimal42, 125, 40 rgb(42, 125, 40)
RGB %16, 49, 16 rgb(16%, 49%, 16%)
RGB Adobe79, 124, 51
CMYK %66, 0, 68, 51 66%, 0%, 68%, 51%
HSL118.59o, 52, 32 hsl(118.59o, 52%, 32%)
HSV (HSB)119o, 68%, 49% hsv(119o, 68%, 49%)
Web Safe color#336633 rgb (51, 102, 51)
XYZ8.671, 15.313 4.506
xyY0.3, 0.54, 15.31
Hunter-Lab39.13, -27.26, 19.14
CMY84%, 51%, 84%
Lab46.1, -39.13, 37.07
Binary color
2A 7D 28
101010 1111101 101000

Shades and tints of #2A7D28


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: #091908 is the darkest color, and: #D5E6D5 is the lightest one.

Tint color variation #2A7D28


Shade color variation


Tones of #2A7D28
A tone is produced by adding gray to any pure hue. In this case, #337D31 is the less saturated color, and #637D61 is the most saturated one.


Alternatives to #2A7D28


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


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

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

HTML code

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



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

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

CSS code

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

CSS code

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



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

text shadow with RGB values

HTML code

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

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(42, 125, 40, 1.4);



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


Color schemes with #2A7D28


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 #2A7D28 saturation. Adding 68% + 10% = 78% saturation for our new color #145713. Decreasing 68% - 10% = 58% saturation for other monochromatic color #46A345.

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: #2A7D28 has a 119o angle. Adding 119o + 180o = 299oo for our new complementary color #7C287D.

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: #2A7D28 has a 119o angle. Adding 119o + 180o+30o = 329o for our first complementary color #7D2854. Decreasing 119o + 180o-30o = 269o for the second complementary color #51287D.

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.