Available colour / slot capturing in Citrix interface

Hello Team,
as part of my task, need to capture time slots denoted by colors in the citrix interface. tried with Screen capture, hover and get attributes, but not getting the available slots. Its simply giving all slots
Please suggest in this regards.
Orange - not available slot
Green - available slot
Gray - Already allotted slot