Skip to contents

Hex color codes for the official UV corporate identity colors.

Usage

uv_cervena

uv_svetlemodra

uv_tmavemodra

uv_stribrna

uv_seda

uv_logomodra

uv_cols

Format

Character strings containing hex color codes. uv_cols is a named character vector.

An object of class character of length 1.

An object of class character of length 1.

An object of class character of length 1.

An object of class character of length 1.

An object of class character of length 1.

An object of class character of length 1.

An object of class character of length 5.

Details

The UV corporate color palette consists of:

  • uv_cervena (#802726) - Corporate red

  • uv_svetlemodra (#014D99) - Light blue

  • uv_tmavemodra (#150E43) - Dark blue

  • uv_stribrna (#BEC0C2) - Silver

  • uv_seda (#F2F2F2) - Gray

  • uv_logomodra (#1E2047) - Logo blue

The uv_cols object provides these colors as a named character vector for convenient use in functions that expect named color vectors.

Examples

# Display all UV colors
uv_cervena
#> [1] "#802726"
uv_svetlemodra  
#> [1] "#014D99"
uv_tmavemodra
#> [1] "#150E43"
uv_stribrna
#> [1] "#BEC0C2"
uv_seda
#> [1] "#F2F2F2"
uv_logomodra
#> [1] "#1E2047"

# Named vector of colors
uv_cols
#>   logomodra        seda    stribrna svetlemodra  tmavemodra 
#>   "#1E2047"   "#F2F2F2"   "#BEC0C2"   "#014D99"   "#150E43" 

# Use in ggplot2
library(ggplot2)
ggplot(mtcars, aes(mpg, wt)) +
  geom_point(color = uv_logomodra, size = 3) +
  theme_minimal()


# Use named vector for discrete scales
ggplot(mtcars, aes(mpg, wt, color = factor(cyl))) +
  geom_point(size = 3) +
  scale_color_manual(values = uv_cols[1:3]) +
  theme_minimal()
#> Warning: No shared levels found between `names(values)` of the manual scale and the
#> data's colour values.
#> Warning: No shared levels found between `names(values)` of the manual scale and the
#> data's colour values.