Can I use a hex color for resourceTimeRanges
or only color names? My goal is to have different shading levels for different time ranges.
I would either want to set timeRangeColor
to red
and then set a different opacity for each time range or I would want to set an explicit hex color for each range.
resourceTimeRanges = [
{ id : 1, resourceId : '1', startDate : new Date(2022,4,8,11,30), endDate : new Date(2022,4,8,12,0), timeRangeColor : 'red' },
{ id : 2, resourceId : '3', startDate : new Date(2022,4,8,15,15), endDate : new Date(2022,4,8,16,30), timeRangeColor : 'red' },
];