function reachedPageFillColor(page) {
  if (page.total == 0) return "white";
  if (page.reached == 0) return "red";
  const percentage = 100 * page.reached / page.total;
  return reachedColorScale(percentage);
}
/**
 * @return the fill color for an item reprensting reached data.
 */
@return the fill color for an item reprensting reached data.
@return the fill color for an item reprensting reached data .
function reachedPageFillColor(page) {
  if (page.total == 0) return "white";
  if (page.reached == 0) return "red";
  const percentage = 100 * page.reached / page.total;
  return reachedColorScale(percentage);
}
function reachedPageFillColor ( page ) { if ( page . total == 0 ) return "white" ; if ( page . reached == 0 ) return "red" ; const percentage = 100 * page . reached / page . total ; return reachedColorScale ( percentage ) ; }
@return the fill color for an item reprensting reached data.
@return the fill color for an item reprensting reached data .