Create a colour palette for bathymetry plots.
fl_topocolorscale.Rd
This function will create a lovely, evenly spaced colour palette designed for use with bathymetry plots.
Value
A list containing two vectors. First the numeric breaks (brks
) that will
be shown as different isobath colours. Second the colours (colors
) that will be shown. The
colours are given as hexadecimal values.
Examples
fl_topocolorscale(-200)
#> $brks
#> [1] -200 -190 -180 -170 -160 -150 -140 -130 -120 -110 -100 -90 -80 -70 -60
#> [16] -50 -40 -30 -20 -10 0
#>
#> $colors
#> [1] "#213F77" "#21498B" "#2153A0" "#1E5DB5" "#1C67CB" "#1171E1" "#047CF8"
#> [8] "#0080FF" "#0080FF" "#1985FF" "#478EFF" "#6997FF" "#7CA1FF" "#8EABFF"
#> [15] "#9EB5FF" "#AEBFFF" "#BCC9FF" "#C9D3FF" "#D7DEFF" "#E4E8FF"
#>