code: def apply_color(formatter, cmap=None, font_bw=1, stripe_rows=1, stripe_cols=0,
                      hdr_border_clazz=BorderTypeGrid, cell_border_clazz=BorderTypeOutline, border_weight=.7):
          
          cmap = cmap or Style.Blue
          light = cmap.get('Light', white)
          medium = cmap.get('Medium', gray)
          dark = cmap.get('Dark', black)
          # the ranges
          header = formatter.all.iloc[:formatter.header.nrows]
          cells = formatter.all.iloc[formatter.header.nrows:]
          # color the header
          hdr_border_clazz and header.set_border_type(hdr_border_clazz, color=medium, weight=border_weight)
          header.set_textcolor(font_bw and white or light)
          header.set_background(dark)
          # color the cells
          cell_border_clazz and cells.set_border_type(cell_border_clazz, color=medium, weight=border_weight)
          stripe_rows and cells.set_row_backgrounds([light, white])
          stripe_cols and cells.set_col_backgrounds([white, light])
          not font_bw and cells.set_textcolor(dark)
docs: font_bw: bool, If True use black and white fonts. If False, then use the cmap