
UV Corporate Colors
uv_colors.RdHex color codes for the official UV corporate identity colors.
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 reduv_svetlemodra(#014D99) - Light blueuv_tmavemodra(#150E43) - Dark blueuv_stribrna(#BEC0C2) - Silveruv_seda(#F2F2F2) - Grayuv_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.