darken function

make color more dark

make color more dark

darken(color, factor = 1.2)

Arguments

  • color: hex color code
  • factor: scalar for darken level

Returns

darkened hex color code

Examples

darken("#FF0000")