Customizing datepicker with background colors

Customizing datepicker with background colors

I need a datepicker to show 14days time representation as shown below


14 days time starts on Saturday and end on next Friday (in this month 5-18), again new 14 time period starts on 19 and ends on 1st of Aug. i want to differentiate the each 14 days in a month with some background color (i just underlined in picture) and i also would like to give some background color to alternative Fridays.

How can i achieve this. Thanks in advance