Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

File:LUT Material demonstration.jpg

File on Resonite Wiki
Original file (1,920 × 1,080 pixels, file size: 936 KB, MIME type: image/jpeg)

Summary

From left to right:

from coloraide import Color

gb = [Color(x) for x in """
#beeb71
#6ab417
#376d03
#172808""".strip().splitlines()]

SIZE = 17
with open("gb.cube", "w") as f:
  f.write(f"LUT_3D_SIZE {SIZE}\n")
  for r in range(SIZE):
    for g in range(SIZE):
      for b in range(SIZE):
        c = Color("srgb-linear", (r / (SIZE - 1), g / (SIZE - 1), b / (SIZE - 1)))
        m = min(gb, key=lambda x: x.distance(c))
        f.write(f"{m['r']} {m['g']} {m['b']}\n")

Licensing

Template:CC0

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current22:47, 26 March 2026Thumbnail for version as of 22:47, 26 March 20261,920 × 1,080 (936 KB).hecko (talk | contribs)From left to right: * Deep Blue from https://o-l-l-i.github.io/lut-maker/ * Toxic Sludge from the same * https://colorizer.net/index.php?op=false_colors&preset=ikan * a custom LUT based on https://lospec.com/palette-list/harshgreens, generated by the following Python code (hereby CC0): <code> from coloraide import Color gb = [Color(x) for x in """ #beeb71 #6ab417 #376d03 #172808""".strip().splitlines()] SIZE = 17 with open("gb.cube", "w") as f: f.write(f"LUT_3D_SIZE {SIZE}\n") for r in...

The following page uses this file: