Functions
List of functions available to help you build your application.
Format text / number
Check Special Characters
This function checks if a string contains special characters. It returns true
if the string contains special characters, otherwise false
.
Remove Special Characters
This function removes special characters from a string.
Format Bytes
This function formats bytes into a human-readable format.
As second argument, you can pass the number of decimal places to round the result. By default it is 2
.
Generate Random String
This function generates a random string.
Colors
HSL From String
This function generates an HSL color from a string.
String From HSL
This function generates a string from an HSL color.
Check Color Brightness
This function checks if a color is bright.
Convert colors
This function converts a color from one format to another.
hslToHex
Converts an HSL color to a HEX color.
hexToHSL
Converts a HEX color to an HSL color.
RGBToHSL
Converts an RGB color to an HSL color.
hslToRgb
Converts an HSL color to an RGB color.
Check Color Type
This function checks the type of a color.