isValidColor

Check weather it is a valid color string code or not, like "#000000"

Return

true if valid color else false

Parameters

string

pass the string color