ArborX


hsb_b

Longname: hsb_b   Open the Documentation Legend
Released: 7.80 
Created: 7.80 
See also: rgb rgb_r rgb_g rgb_b cmyk cmyk_c cmyk_m cmyk cmyk_k hsb hsb_h hsb_s Technote: 0080

Summary
A keyword used with function variables: ^[funcname parameter(s)]. This syntax can be used anywhere that a regular 3B2 variable can be used: in show strings, in scripts, in expressions, etc. Function variables are a V8 feature that uniforms variable use and functions into a readable syntax. The 'hsb_b' function will extract the brightness from the colour selected within the syntax and return the relevant HSB values for the specified colour, 'hsb' will give you all of the values, its h,s,b variants will give the specific colour asked for.
Example extract

The following show string will display the current value of the th command (text height).

 <?show ^[prop th]?>

Syntax (n/a)
hsb_b colour:t
colour:t

The colour from which to extract HSB values.

 <?show $^[hsb_b my-nice-colour]>

Document created on 01-Oct-2004 (revision 001)