Template:Darken/doc


 * Usage
 * Darkens a color.
 * Template can be substituted.


 * Input
 * first 3 parameters: color to darken as R, G, B color values, each numeric and in range 0..255
 * fourth parameter: amount by which to darken in % (0 = no change, 100 = black)
 * optional format parameter: name of a template to format the RGB values (the default is Hex3 an alternative is RGB)


 * Output
 * darkened color as hexadecimal color code


 * Examples
 * gives 
 * gives 
 * gives 
 * gives 
 * gives 
 * gives 


 * 240 gives  #F0A0C8
 * 240 gives  #F0A0C8
 * 240 gives  #C080A0
 * 240 gives  #785064
 * 240 gives  #302028
 * 240 gives  #000000


 * gives 
 * gives 
 * gives 
 * gives 
 * gives <kbd style="background:">
 * gives <kbd style="background:">


 * 240 gives <kbd style="background:rgb(240,160,200)">rgb(240,160,200)
 * 240 gives <kbd style="background:rgb(240,160,200)">rgb(240,160,200)
 * 240 gives <kbd style="background:rgb(192,128,160)">rgb(192,128,160)
 * 240 gives <kbd style="background:rgb(120,80,100)">rgb(120,80,100)
 * 240 gives <kbd style="background:rgb(48,32,40)">rgb(48,32,40)
 * 240 gives <kbd style="background:rgb(0,0,0)">rgb(0,0,0)


 * See also
 * for formatting as a standard "#RRGGBB" hex value
 * for formatting as a standard "rgb(r,g,b)" hex value
 * for formatting as a standard "#RRGGBB" hex value
 * for formatting as a standard "rgb(r,g,b)" hex value
 * for formatting as a standard "rgb(r,g,b)" hex value

dsb:Pśedłoga:Śamniś hsb:Předłoha:Ćěmnić id:Templat:Darken