initialize color and visibility