/hrStringColor

Set Color on seperate characters in string

Primary LanguageJavaScript

hrStringColor v1

Apply Color on seperate characters in string

Set Color on seperate characters in string

How to Use?

$(".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
});

Options Details

  • 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

Live Preview