Format pending/approved appointments in Calendar view

Hello! I’m currently creating an appointment scheduling application, and was wondering if there was a way to format calendar appointments UX based on Status. I have some appointments pending, approved, etc., and was looking for something similar to the way Google Calendar currently shows appointments that are not accepted (inverted colors – white with colored text, while approved appointments have white text with a colored in timeslot). Is this feature currently available? Does anyone have any examples of this I can take a look at?

I currently have multiple rooms available for booking, which is why I want to avoid assigning a different color to each Status – I currently have each room as a different color.

Thanks!