Set Color on seperate characters in string
$(".my").hrStringColor({
string : "Hi i am Hidayt Rahman. You can add your own", //optional
charFrom : 5, // Index of character, where to start
charTo : 25, // Index of character, where to end
color : "green" // add your color
});
- string - Add Your strings, or it will select value automatically from your selected tag, (don't put spaces in text)
- charFrom - Enter the index of character (for ex "5"), from where you want to start.
- charTo - Enter the index of character (for ex "25"), from where you want to end.
- color - add your favorite color, with HEX and rgb