-
Notifications
You must be signed in to change notification settings - Fork 86
color mix
Chris Petersen edited this page Oct 16, 2014
·
1 revision
color-mix mixes two colors in rgb space.
Parameter | Description |
---|---|
c1 | First color to be mixed |
c2 | Second color to be mixed |
w | Mixing weight of the two colors (0: all c1, 1: all c2) |
Example 1: Mix the colors red and green to get a dark yellow
> (define darkyellow (color-mix Red Green 0.5))
> (color-red darkyellow)
127
> (color-green darkyellow)
127
> (color-blue darkyellow)
0
-
- 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