Color code validator without Regular Expression

Hi Guys, My friend gave me this idea about validating color code. I can write a regular expression but need to write for Hex Color, RGB, and color name as well, which is very difficult.

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Leave a Reply

Your email address will not be published. Required fields are marked *