Add color stop with pixel length test to background-gradient. Add units extraction function.