FBCOLOR(1)

πŸ“¦
version 7.44.0 Β· 2 versions
, in nixpkgs unstable

πŸ’– fbcolor β€” the FBCOLOR(1) page, but make it a group chat πŸ’–

okay so bestie, this is the whole FBCOLOR(1) manual from BRL-CAD, rewritten so it actually slaps. Every flag, every detail, every little receipt is still here β€” we do not skip the boring parts in this house. πŸ’…

✨ NAME ✨

fbcolor β€” interactively pick a color on a framebuffer 🎨

🌸 SYNOPSIS 🌸

fbcolor [-F framebuffer] [-s|-S squaresize] [-w|-W width] [-n|-N height] [-h]

πŸ¦‹ DESCRIPTION πŸ¦‹

fbcolor is an interactive color picking facility, and it’s lowkey iconic. It draws a set of red, green, and blue color bars in the lower-left corner of a framebuffer, fills the remainder of the display with the current color, then reads single-character commands from standard input to edit that color. Editing is done by manipulating the framebuffer color map, so the display updates instantly as parameters change. The chosen color may be adjusted in either RGB (red, green, blue) or HSV (hue, saturation, value) space. no cap. ✨

As the color is edited, fbcolor prints the current RGB and HSV values on the terminal so they can be recorded for later use with tools such as fbclear(1). That’s the receipts, bestie β€” write them down. πŸ“

The interactive commands fall into two groups: those that select which parameter to edit, and those that change the value of the selected parameter.

  • The keys r, g, and b select the red, green, or blue channel, while h, s, and v (or i) select the hue, saturation, or value. The / key steps through the parameters in that order.
  • + and . increment the selected parameter by one; - and , decrement by one; > and < change it by 16.
  • Values range from 0 to 255 and wrap in both directions.
  • Typing ? prints a command summary, and q, Q, or a carriage return / line feed exits the program, restoring the original color map.

πŸ’… OPTIONS πŸ’…

  • -F framebuffer β€” Specifies the framebuffer device to use. If not given, the environment variable FB_FILE is used to select the display device (see brlcad(1)). If FB_FILE has not been set, the default device for your system is used.
  • -s squaresize β€” Sets both the width and height of the framebuffer window to squaresize pixels.
  • -S squaresize β€” Same as -s.
  • -w width β€” Sets the width of the framebuffer window to width pixels.
  • -W width β€” Same as -w.
  • -n height β€” Sets the height of the framebuffer window to height pixels.
  • -N height β€” Same as -n.
  • -h β€” Prints a usage summary and exits.

πŸ“ EXAMPLES πŸ“

Example 1. Pick a color, then paint the whole framebuffer with it

fbcolor -F /tmp/myfb -s 512
fbclear -F /tmp/myfb 200 100 50

Open a 512x512 framebuffer file and interactively dial in a color, reading the printed RGB triple from the terminal (for example +rgb=200, 100, 50+). Once a pleasing value is found, the recorded RGB values are passed to fbclear(1) to flood the same framebuffer with that exact color.

🌈 SEE ALSO 🌈

πŸ‘‘ AUTHOR πŸ‘‘

BRL-CAD Team β€” they said it, not me. πŸ‘‘

This software is Copyright (c) 1989-2026 by the United States Government as represented by U.S. Army Research Laboratory.

πŸ› BUG REPORTS πŸ›

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. fr fr, tell them if something’s cooked. 😭


πŸ’– cute sign-off time, bestie: source/version BRL-CAD, manual page FBCOLOR(1), and the footer didn’t drop a date so I’m not inventing one β€” stay iconic! πŸŒˆπŸ’…βœ¨

πŸ“¦ where this page comes from