Logo

Contents:

  • Home

Examples

  • Show Colormap
  • Show Colors
  • Generate palette from a seed color
  • Generate primary colors palette from the same color
  • Generate background colors palette from the same color
  • Generate foreground colors palette from the same color
  • Set colorcycler for a plot
  • Log-scaled colormap

Image Tools

  • Colorize bw / greyscale image
  • Convert to greyscale, keep channels
  • Convert image to low-polygonal

Wallpapers

  • Sigmoid wallpaper
  • Perlin wallpaper
  • Perlin lines
  • Gradient wallpaper
  • Low-polygon wallpaper

API Reference

  • API Reference
    • excolor.colortools
    • excolor.colortypes
    • excolor.palette
    • excolor.cmaptools
    • excolor.imagetools
    • excolor.wallpaper
    • excolor.patch
    • excolor.gradient
    • excolor.utils
excolor
  • API Reference
  • View page source

API Reference

Modules

  • excolor.colortools
    • show_colors()
    • list_colors()
    • set_color_cycler()
    • lighten()
    • darken()
    • saturate()
    • desaturate()
  • excolor.colortypes
    • to_rgb()
    • to_rgb255()
    • to_hex()
    • to_hls()
    • to_hsl()
    • to_hsv()
    • to_oklch()
    • hex_to_rgb()
    • rgb_to_hex()
    • rgb255_to_rgb()
    • rgb_to_rgb255()
    • hls_to_rgb()
    • rgb_to_hls()
    • hsl_to_rgb()
    • rgb_to_hsl()
    • hsv_to_rgb()
    • rgb_to_hsv()
    • oklch_to_rgb()
    • rgb_to_oklch()
  • excolor.palette
    • generate_palette()
    • generate_primary_palette()
    • generate_background_palette()
    • generate_foreground_palette()
    • generate_stepwise_palette()
  • excolor.cmaptools
    • show_colorbar()
    • show_cmap()
    • list_cmaps()
    • list_qualitative_cmaps()
    • list_continuous_cmaps()
    • list_divergent_cmaps()
    • list_cyclic_cmaps()
    • logscale_cmap()
    • get_bgcolor()
    • show_cmaps()
    • show_qualitative_cmaps()
    • show_continuous_cmaps()
    • show_divergent_cmaps()
    • show_cyclic_cmaps()
  • excolor.imagetools
    • pixels_to_size_and_dpi()
    • remove_margins()
    • load_image()
    • img2arr()
    • arr2img()
    • mask2img()
    • fig2img()
    • fig2img_from_canvas()
    • add_layer()
    • colorize_image()
    • resize_image()
    • greyscale_image()
  • excolor.wallpaper
    • sigmoid_wallpaper()
    • perlin_wallpaper()
    • perlin_lines()
    • gradient_wallpaper()
    • triangle_wallpaper()
  • excolor.patch
    • Patch
  • excolor.gradient
    • show_gradient_sources()
    • fill_gradient()
  • excolor.utils
    • get_color_name()
    • get_colors()
    • interpolate_colors()
Previous Next

© Copyright 2023, Tim Pyrkov.

Built with Sphinx using a theme provided by Read the Docs.