Generates a color code from a string - supports rgba and hex format
stringToColor.convertHex('convertSampleText') // > "#0c15cd"
stringToColor.convertRGBA('convertSampleText',.3) // > "rgba(12,21,205,0.3)"
Generates a color code from a string - supports rgba and hex format
Generates a color code from a string - supports rgba and hex format
stringToColor.convertHex('convertSampleText') // > "#0c15cd"
stringToColor.convertRGBA('convertSampleText',.3) // > "rgba(12,21,205,0.3)"
Generates a color code from a string - supports rgba and hex format
MIT License