HSVRGB(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

✨ HSVRGB β€” it's giving color conversion, bestie ✨

NCAR GRAPHICS Β· man page 3NCARG Β· the one where HSV becomes RGB πŸŽ€

okay so real talk: HSVRGB takes a color you described the vibes of β€” Hue, Saturation, Value β€” and translates it into the Red/Green/Blue numbers your screen actually speaks. it's a glow-up in numeric form. πŸ’…


🌈 NAME 🌈

HSVRGB β€” converts a color specification given in the Hue, Saturation, and Value (HSV) color space to color values in the Red, Green, Blue (RGB) color space.

like. it's a color translator. that's the whole job. πŸ¦‹


πŸ’« SYNOPSIS πŸ’«

CALL HSVRGB (H, S, V, R, G, B)

🫢 C-BINDING SYNOPSIS 🫢

#include <ncarg/ncargC.h>

void c_hsvrgb (float h, float s, float v, float *r,
float *g, float *b)

πŸ‘‘ DESCRIPTION πŸ‘‘

  • H β€” (REAL, input, range [0.,360.)) β€” the hue of your input color in HSV space. it's the "which color even is this" coordinate. 🌸
  • S β€” (REAL, input, range [0.,1.]) β€” the saturation of your input color in HSV space. saturation measures how much white light is mixed in with the color, iykyk. saturation values of 0. give you grays (and the gray value equals the value V, no cap). saturation values of 1. are fully saturated colors, the full-glam version. heads up though: the hue is undefined when S=0 β€” like, the hue simply does not have a job in that situation. the fully saturated pure hues occur when S=1. and V=1. together. ✨
  • V β€” (REAL, input, range [0.,1.]) β€” the value of your input color in HSV space. that's the brightness main character right there. 🌟
  • R β€” (REAL, output, range [0.,1.]) β€” the red intensity component of the output color in RGB color space. ❀️
  • G β€” (REAL, output, range [0.,1.]) β€” the green intensity component of the output color in RGB color space. πŸ’š
  • B β€” (REAL, output, range [0.,1.]) β€” the blue intensity component of the output color in RGB color space. πŸ’™

🧚 C-BINDING DESCRIPTION 🧚

the C-binding argument descriptions are the same as the FORTRAN argument descriptions. literally identical. same facts, different font. periodt. πŸ’œ


πŸ”₯ EXAMPLES πŸ”₯

use the ncargex command to see the following relevant examples:

  • coex03
  • tcolcv
  • fcce02

go look at them, they ate. πŸ“


πŸŽ€ ACCESS πŸŽ€

to use HSVRGB or c_hsvrgb, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” preferably in that order. don't get cute with the ordering, bestie. πŸ™ˆ


πŸ’Œ MESSAGES πŸ’Œ

see the colconv man page for a description of all Colconv error messages and/or informational messages. all the lore lives over there. πŸ‘‘


⭐ SEE ALSO ⭐

Online: colconv, hlsrgb, rgbhls, rgbhsv, rgbyiq, yiqrgb, ncarg_cbind.

Hardcopy: NCAR Graphics Fundamentals, UNIX Version


Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.


okay that's the whole page, bestie, you're officially HSV-to-RGB literate πŸ’…βœ¨

this one's from the UNIX manual set, HSVRGB(3NCARG), dated March 1993 β€” yes she's vintage, and yes she still slays. πŸŽ€πŸ¦‹ bye!!

πŸ“¦ where this page comes from