https://github.com/leeper/arco
Select colors from the Tcl/tk `chooseColors` widget
https://github.com/leeper/arco
Last synced: 2 months ago
JSON representation
Select colors from the Tcl/tk `chooseColors` widget
- Host: GitHub
- URL: https://github.com/leeper/arco
- Owner: leeper
- License: other
- Created: 2015-06-15T18:43:08.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-17T12:26:38.000Z (about 11 years ago)
- Last Synced: 2026-01-01T14:36:13.140Z (6 months ago)
- Language: R
- Size: 129 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# The Tcl/tk chooseColors Widget #
This package provides one function, `arco::iris()`, which can be used to dynamically select colors from the Tcl/tk `chooseColors` widget.
## Package Installation ##
This package can be installed from GitHub using **devtools**:
```R
if(!require("devtools")){
install.packages("devtools")
library("devtools")
}
install_github("leeper/arco")
```
[](https://travis-ci.org/leeper/arco)
[](http://cran.r-project.org/package=arco)

## Examples ##
```R
# choose one color
arco::iris()
## [1] "#00FF00"
# choose three colors
arco::iris(3)
## [1] "#5224db" "#e7182d" "#63d02f"
```
### Windows Version ###
[](http://i.imgur.com/8JkBCGj.png)
### Mac Version ###
[](https://www.evernote.com/shard/s1/sh/1cd42999-f081-41f6-98c5-e33110b54346/1af2a6bd5aa20d3b/res/b6f7cbaa-136a-4703-9cc6-4e0bd3676258/skitch.png)
### Linux Version ###
[](http://i.imgur.com/Ej6CCvw.png)