FBCOLOR(1)
π 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, andbselect the red, green, or blue channel, whileh,s, andv(ori) 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, andq,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 variableFB_FILEis used to select the display device (seebrlcad(1)). IfFB_FILEhas not been set, the default device for your system is used.-s squaresizeβ Sets both the width and height of the framebuffer window tosquaresizepixels.-S squaresizeβ Same as-s.-w widthβ Sets the width of the framebuffer window towidthpixels.-W widthβ Same as-w.-n heightβ Sets the height of the framebuffer window toheightpixels.-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. π
π COPYRIGHT π
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
- nixpkgs unstable: brlcad 7.44.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms