# GRUtils - Surface color and transparency

**URL:** https://discourse.julialang.org/t/grutils-surface-color-and-transparency/95617
**Category:** Visualization
**Tags:** gr
**Created:** [March 6, 2023, 2:57pm UTC](https://discourse.julialang.org/t/grutils-surface-color-and-transparency/95617 "2023-03-06T14:57:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Maucejo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maucejo/32/39090_2.png) [@Maucejo](https://discourse.julialang.org/u/Maucejo)
#### Post date: [March 6, 2023, 2:57pm UTC](https://discourse.julialang.org/t/grutils-surface-color-and-transparency/95617/1 "2023-03-06T14:57:56Z")

</div>

Hi all,

I don’t figure out how to set the color of a surface as well as its transparency with `GRUtils.jl`. Here is a MWE:

```julia
using GRUtils

x = LinRange(0., 100., 100)
y = ones(50)

vl = LinRange(0., 1., 50)
v = repeat(vl', 100, 1)
z = repeat(ones(100), 1, 50).*v

fig = surface(y, x, z)

```

According to the documentation, I have tried to add to the `surface` functions the keywords `color` (using `GRUtils.color`) and `alpha` without any success.

I have also read the source code of the `gr` backend of `Plots.jl` to try find a solution [Surface - GR backend - Plots.jl](https://github.com/JuliaPlots/Plots.jl/blob/20726c880f06cfcee1428205f72d70d07e7e53b5/src/backends/gr.jl#L1896), but I don’t know how to use it with `GRUtils`.

If you have any suggestions, thank you!
