Skip to content

Commit

Permalink
Automatic formating updates
Browse files Browse the repository at this point in the history
  • Loading branch information
avylove committed Apr 10, 2024
1 parent 763d81f commit 95fd644
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/generate-x11-colorchart.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def main():
hsv = colorsys.rgb_to_hsv(*rgb)
csv_rows += (' '
f'{x11_color}, |{x11_color}|, '
f'{rgb[0]/255:0.1%}, {rgb[1]/255:0.1%}, {rgb[2]/255:0.1%}, '
f'{hsv[0]:0.1%}, {hsv[1]:0.1%}, {hsv[2]/255:0.1%}\n')
f'{rgb[0] / 255:0.1%}, {rgb[1] / 255:0.1%}, {rgb[2] / 255:0.1%}, '
f'{hsv[0]:0.1%}, {hsv[1]:0.1%}, {hsv[2] / 255:0.1%}\n')

output = aliases + '\n\n' + csv_table + '\n' + csv_rows
filepath_txt = os.path.abspath(os.path.join(os.path.dirname(__file__), os.path.pardir, 'docs',
Expand Down

0 comments on commit 95fd644

Please sign in to comment.