Implement colorschemes hierarchy

Ref #770. Is a part of former #784.