I need to darken a given color by given percentage, if the percentage is 1 the black color should be returned and if the percentage is 0 the originalColor should be returned.I need to darken a given color by given percent
I need to darken a given color by given percentage, if the percentage is 1 the black color should be returned and if the percentage is 0 the originalColor should be returned.I need to darken a given color by given percent