Re: [R] What is the HEX code for "transparent" color?

2024-06-20 Thread Ivan Krylov via R-help
В Mon, 17 Jun 2024 19:38:21 +0200 Yosu Yurramendi пишет: > output$distPlot <- renderPlot({ > numrows <- 3; numcols <- 3 > a <- c(1,0,1,1,1,1,1,0,1) > pattern <- matrix(a, numrows, numcols, byrow=TRUE) > palette <- c("#", "black") > par(bg="#") >

Re: [R] What is the HEX code for "transparent" color?

2024-06-17 Thread Gabor Grothendieck
adjustcolor("#123456", alpha = 0.5) will return the indicated color with an alpha transparency of 50% . On Thu, Jun 6, 2024 at 11:07 AM Yosu Yurramendi wrote: > > What is the HEX code for "transparent" color? > I've tried "" "FF00" "", but they don't work. > Thanks > >

Re: [R] What is the HEX code for "transparent" color?

2024-06-17 Thread Yosu Yurramendi
Thank you all very much for the answers given (Greg, Robert, Duncan, Roland). Actually, I had tried with "#" and "#FF00" (I had a mistake in the message). For example it works with: numrows <- 3; numcols <- 3 a <- c(1,0,1,1,1,1,1,0,1) (pattern <- matrix(a, numrows, numcols,

Re: [R] What is the HEX code for "transparent" color?

2024-06-07 Thread Roland Rau via R-help
On 6/6/24 18:41, Duncan Murdoch wrote: On 2024-06-06 4:37 a.m., Yosu Yurramendi wrote: What is the HEX code for "transparent" color? I've tried "" "FF00" "", but they don't work. If the other answers don't solve your problem, you should give us some context.  Not all

Re: [R] What is the HEX code for "transparent" color?

2024-06-06 Thread Robert Knight via R-help
You would set the alpha of an existing color and give it a new name and then refer to it by name rather than using HEX codes. On June 6, 2024 11:08:06 AM EDT, Greg Snow <538...@gmail.com> wrote: >You need a "#" at the beginning of the string to specify that it is a >hex code for the color. Try

Re: [R] What is the HEX code for "transparent" color?

2024-06-06 Thread Duncan Murdoch
On 2024-06-06 4:37 a.m., Yosu Yurramendi wrote: What is the HEX code for "transparent" color? I've tried "" "FF00" "", but they don't work. If the other answers don't solve your problem, you should give us some context. Not all graphics functions in R can handle

Re: [R] What is the HEX code for "transparent" color?

2024-06-06 Thread Robert Knight
You would give an existing color a new name and modify the new name's alpha. Then refer to the color by the new name instead of using HEX. On Thu, Jun 6, 2024, 11:07 AM Yosu Yurramendi wrote: > What is the HEX code for "transparent" color? > I've tried "" "FF00" "", but

Re: [R] What is the HEX code for "transparent" color?

2024-06-06 Thread Greg Snow
You need a "#" at the beginning of the string to specify that it is a hex code for the color. Try "#". On Thu, Jun 6, 2024 at 9:07 AM Yosu Yurramendi wrote: > > What is the HEX code for "transparent" color? > I've tried "" "FF00" "", but they don't work. > Thanks > >

[R] What is the HEX code for "transparent" color?

2024-06-06 Thread Yosu Yurramendi
What is the HEX code for "transparent" color? I've tried "" "FF00" "", but they don't work. Thanks [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see