extract style parsing from GL so it's used for canvas rendering too
along the way, convert canvas colors to use floats and unify other stylesheet properties divergent from GL