Implements fixes for empty function
Improves darken color method