General function gets any value instead of just color