modified color and text functions