no need for colorfromattr: attrs are now ints so they can hold a 24bit value just fine