Tint and shade functions added.