ColorValidator

Made little refactorings & added color validation