-
Notifications
You must be signed in to change notification settings - Fork 87
color rgbaf
Chris Petersen edited this page Oct 16, 2014
·
1 revision
color-rgbf returns a color made from four components (rgb and transparency)
Parameter | Description |
---|---|
r | Red channel value (0 is black, 1 is maximum red) |
g | Green channel value (0 is black, 1 is maximum green) |
b | Blue channel value (0 is black, 1 is maximum blue) |
a | Alpha channel value (0 is most transparent, 1 is completely solid) |
Example 1: Return the color Papayawhip (255, 239, 213) with 25% transparency
> (define Papayawhip (color-rgbaf 1.0 0.937 0.835 0.75))
> (color-alpha Papayawhip)
191
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip