You can get 8bit(255 levels) with just 8 resistors and 8 mosfets. If done in smd, it doesn't take very much space.