some work on ColorEditor