I\'m trying to implement card like following image, I already implemented single color color code as following code,