r.colors.out(1)

πŸ’… r.colors.out β€” the GRASS GIS User's Manual, but make it cute

okay bestie, welcome to r.colors.out, a lil tool from the GRASS GIS manual that does exactly one thing and does it flawlessly. it's in the r.colors.out(1) manual section, iykyk.


✨ NAME ✨

r.colors.out β€” bestie, this exports the color table associated with a raster map. that's it. that's the whole job. and it ate. πŸ’…


🏷️ KEYWORDS 🏷️

raster, color table, export πŸŽ€


πŸ“œ SYNOPSIS πŸ“œ

r.colors.out
r.colors.out --help
r.colors.out [-p] map=name  [rules=name]   [--overwrite]  [--help]
[--verbose]  [--quiet]  [--ui]

🚩 Flags:

  • -p β€” output values as percentages. like, percent-coded, literally. πŸ’―
  • --overwrite β€” allow output files to overwrite existing files. she's giving "move, i'm driving" energy πŸš—
  • --help β€” print usage summary. when u need a lil refresher 🫢
  • --verbose β€” verbose module output. she talks a LOT and we love that for her πŸ—£οΈ
  • --quiet β€” quiet module output. shhh 🀫
  • --ui β€” force launching GUI dialog. pop-up era ✨

πŸŽ€ Parameters:

  • map=name [required] β€” name of raster map. yes bestie it's required, u HAVE to tell her which map πŸ‘‘
  • rules=name β€” path to output rules file. if not given, write to standard output. so it's either a file or ur terminal, her choice πŸ¦‹

🌸 DESCRIPTION 🌸

r.colors.out lets u export the color table for a raster map out to a file that's suitable as input to r.colors. so basically she's the plug πŸ’–, she hands the color table off in a format that r.colors will happily gobble right up. round trip realness. no cap.


🌈 EXAMPLES 🌈

r.colors.out map=el_D782_6m rules=rules.txt
r.colors map=el_D783_6m rules=rules.txt

see how they match up?? first one exports, second one applies. iconic behavior, fr fr 🧚


πŸ‘€ SEE ALSO πŸ‘€

  • r.colors

(go check her out, they're a duo πŸ’œ)


✍️ AUTHOR ✍️

Glynn Clements β€” ty for ur service, king πŸ‘‘


πŸ’» SOURCE CODE πŸ’»

Available at: r.colors.out source code (history)

Accessed: Saturday Jan 17 05:40:44 2026

Main index | Raster index | Topics index | Keywords index | Graphical index | Full index


and that's the whole page, bestie!! πŸŽ€ this was the GRASS GIS 8.4.2 Reference Manual, GRASS 8.4.2, Β© 2003-2025 GRASS Development Team. mwah, go export some color tables, u got this πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from