added color styles to contract