as.hexcol {Glimma} | R Documentation

## Numeric to hex colour converter

### Description

Convert numbers and R colour strings into corresponding hex codes for colours

### Usage

    as.hexcol(x)

### Arguments

`x` | the colour value(s) to be converted to hex values.

### Value

hex codes for colours

### Examples

    as.hexcol(c(1, 2, 3))
    as.hexcol(c("red", "black", "green"))

[Package Glimma version 1.15.3 Index]