Function getActualPrimitiv() added for color editor