working colortest pragmas + code

uses a struct (just use getsensorvalues, and access the values with state.value