Made a general sort of primitive form, from which bg getter/setter and
color darkner/brighter now are derived.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>