Displaying 20 results from an estimated 26 matches for "ffff00".
Did you mean:
ffff05
2016 Apr 16
0
Mean of hexadecimal numbers
On 16/04/2016 8:47 AM, Atte Tenkanen wrote:
> Hi,
>
> How would you calculate the "mean colour" of several colours, for
> example c("#FF7C00","#00BF40","#FFFF00")?
>
Bert answered your subject line question. Your text is asking something
else: if those are colours, you don't want to treat each of them as a
single integer.
A simple-minded approach would split them into 3 hex numbers, and
average those (using Bert's solution).
A more...
2016 Apr 16
1
Mean of hexadecimal numbers
Hm...,
Should these two versions produce the same solution? Unfortunately and
shame to confess, I don't know much about the colors in R:
myColors <- c("#FF7C00","#00BF40","#FFFF00")
Colors=rgb2hsv(col2rgb(myColors))
apply(Colors,1,mean)
h s v
0.2122974 1.0000000 0.9163399
* * * * *
# Average the 1st two by taking the middle colour of a 3 colour palette
x <- colorRampPalette(c("#FF7C00","#00BF40"), space = "Lab"...
2016 Apr 16
5
Mean of hexadecimal numbers
Hi,
How would you calculate the "mean colour" of several colours, for
example c("#FF7C00","#00BF40","#FFFF00")?
Yours,
Atte Tenkanen
2016 Apr 16
0
Mean of hexadecimal numbers
...kanen wrote:
> Hm...,
>
> Should these two versions produce the same solution?
I wouldn't expect them to.
Duncan Murdoch
Unfortunately and
> shame to confess, I don't know much about the colors in R:
>
> myColors <- c("#FF7C00","#00BF40","#FFFF00")
> Colors=rgb2hsv(col2rgb(myColors))
> apply(Colors,1,mean)
>
> h s v
> 0.2122974 1.0000000 0.9163399
>
> * * * * *
>
> # Average the 1st two by taking the middle colour of a 3 colour palette
> x <- colorRampPalette(c("#FF7C00&qu...
2016 Apr 16
2
Mean of hexadecimal numbers
...loom County" comic strip )
>
>
> On Sat, Apr 16, 2016 at 5:47 AM, Atte Tenkanen <attenka at utu.fi> wrote:
>> Hi,
>>
>> How would you calculate the "mean colour" of several colours, for example
>> c("#FF7C00","#00BF40","#FFFF00")?
>>
>> Yours,
>>
>> Atte Tenkanen
>>
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting g...
2016 Apr 16
0
Mean of hexadecimal numbers
...ou can use functions in the grDevices
package (other others) to manipulate them. E.g., you can convert them
to various color spaces and perhaps use the mean in one of those
spaces as your 'average color'.
> myColors <- c(One="#FF7C00",Two="#00BF40",Three="#FFFF00")
> col2rgb(myColors)
One Two Three
red 255 0 255
green 124 191 255
blue 0 64 0
> rgb2hsv(col2rgb(myColors))
One Two Three
h 0.08104575 0.3891798 0.1666667
s 1.00000000 1.0000000 1.0000000
v 1.00000000 0.7490196 1.0000000
Bi...
2007 Jan 13
0
MHII.OB(MARSHALL HOLDINGS INTERNATIONAL INC.) this special for you
...  color: #0000FF;
        font-weight: bold;
}
body {
        background-color: #FFFFCC;
}
style8 {color: #000000}
style9 {color: #0000FF}
style14 {color: #FFFF00}
style19 {color: #000000; font-weight: bold; }
style21 {color: #FFFFFF}
style23 {color: #0000FF; font-size: medium; }
-->
</style>
</head>
<body>
<table width="486" border="2" align="center" cellspacing="10" bordercolor="#000000&...
2013 Oct 25
1
add a color band
Hi all,
I would like to ask your help to add a color band (Ι am not sure regarding the right term, this color band at the right of the plot "describing" values with their corresponding color.
For now I have only this code
test<-matrix(data=runif(10000),nrow=100)
plot(test,axes="FALSE")
axis(1,at=c(0,1),labels=c("a","b")) #
but I would like to add
2016 Apr 16
0
Mean of hexadecimal numbers
...keley Breathed in his "Bloom County" comic strip )
On Sat, Apr 16, 2016 at 5:47 AM, Atte Tenkanen <attenka at utu.fi> wrote:
> Hi,
>
> How would you calculate the "mean colour" of several colours, for example
> c("#FF7C00","#00BF40","#FFFF00")?
>
> Yours,
>
> Atte Tenkanen
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/postin...
2012 Oct 22
1
how to group smooth line by two groups?
...ype is dotted. how
to do it?
I tried a color plot with the following code. what should i change "color"
to?
pb <- ggplot(data, aes(x = a, y = b,
color = char, linetype = factor(sex)))
p0 <- pb +
scale_color_manual(values = c("#00FFFF", "#FFFF00", "#00FF00")) +
scale_linetype_manual(breaks=c("0","1"), values=c(1,2), labels = c("male",
"female")) +
geom_smooth(method = "lm",
se = FALSE, # Don't add shaded confidence region
size = 1.2, aes(g...
2006 Oct 09
2
page.visual_effect :highlight
...IE.
Does anyone have any experience with this?
Here is the code in my controller:
render :update do |page|
page.visual_effect :highlight,
@card.to_s,
:duration => 0.5,
:startcolor => "''#ffff00''",
:endcolor => "''#f1eded''"
end
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails...
2005 Oct 13
6
performance
...ow.location =
"ReorderWebCategory.action?groupIdsKey=group_2297&" +
Sortable.serialize(sortable) + "&toggleLevel=" + toggleLevel + "#2297";
new Effect.Pulsate(sortable);},
onChange:function(sortable){$(sortable.style.backgroundColor =
"#ffff00");}
});
I''ve executed this page in IE on Windows, Firefox on Windows and Mac,
and Safari on the Mac, all with similar results.
I''m looking for a way to improve the performance--it makes an
otherwise cool interface pretty unusable. Here''s a movie of it so you...
2003 Aug 29
2
Lattice plot questions
...t;superpose.symbol" reveals the
following:
> superpose.symbol <- trellis.par.get("superpose.symbol")
> superpose.symbol
$cex
[1] 0.8 0.8 0.8 0.8 0.8 0.8 0.8
$col
[1] "#00ffff" "#ff00ff" "#00ff00" "#ff7f00" "#007eff" "#ffff00" "#ff0000"
$font
[1] 1 1 1 1 1 1 1
$pch
[1] "o" "o" "o" "o" "o" "o" "o"
This seems to indicate that lattice graphics are restricted to
no more than seven colors, though I cannot believe that this is true.
Whe...
2005 Aug 10
1
Issues with Canoo WebTest
I''m trying to use Canoo WebTest (based on HtmlUnit) to test my webapp
after integrating scriptaculous. While my test passed, I get a nice
long exception message which barely makes any sense (see below).
I found I could get rid of this message by commenting out line 114 of
effects.js:
114 this.timeout = setTimeout(this.loop.bind(this), 10);
Any idea of what might be causing
2005 Oct 17
11
a better question
I''m trying to call a click() event on an <a href> that has an
Observable registered for it. Something like:
<a href="#" id="toggle_1929">show</a>
...
Event.observe("toggle_1929", ''click'', function(event){ Element.toggle
("group_1929"); return false; });
...
$("toggle_1929").click(); //this throws
2000 Feb 29
0
mapping of colornames into hsv: half way done
...wheat", "#F5DEB3",
"wheat1", "#FFE7BA",
"wheat2", "#EED8AE",
"wheat3", "#CDBA96",
"wheat4", "#8B7E66",
"whitesmoke", "#F5F5F5",
"yellow", "#FFFF00",
"yellow1", "#FFFF00",
"yellow2", "#EEEE00",
"yellow3", "#CDCD00",
"yellow4", "#8B8B00",
"yellowgreen", "#9ACD32"
)
, ncol=2, byrow=T)
and a quick retrieval functio...
2009 May 14
0
can I plot a matrix of colors?
Hi all,
I have a 36x14 matrix of hexadecimal coded colors (see attached file) that
was created with the following code:
cellcol[is.na(cellcol)] <- "#FFFF00"
#Aliceblue
cellcol[cellcol < 5] <- "#F0F8FF"
#Skyblue1
cellcol[cellcol >= 5 & cellcol < 20] <- "#87CEFF"
#Blue
cellcol[cellcol >= 20 & cellcol < 35] <- "#0000FF"
#Green3
cellcol[cellcol >= 35 & cellcol < 50] <- "#...
2012 Oct 18
0
how to add mean value to regression line using ggplot?
...d like to add mean value to the
regression line as a marker. how to do it?
p <- ggplot(data, aes(x = x, y = y,
color = a, shape = factor(sex),
linetype = factor(sex)))
p0 <- p +
scale_color_manual(values=c("#00FFFF", "#FFFF00", "#00FF00")) +
geom_smooth(method = "lm", se = FALSE, size = 1.5)
Thanks a lot.
--
View this message in context: http://r.789695.n4.nabble.com/how-to-add-mean-value-to-regression-line-using-ggplot-tp4646674.html
Sent from the R help mailing list archive at Nabble.co...
2005 Oct 11
8
Sortable as a class?
Hi there!
My first post to this list, so first of all many thanks for the amazing
Scriptaculous library. I''m currently using it for some nice Ajax effects
in Apache Cocoon (http://cocoon.apache.org/).
I''m currently struggling with Sortable, which I would like to adapt as
the conventions used in Cocoon are different from those currently used.
Basically, I would like to send
2007 Aug 25
2
Color gem
...9;'m having some troubles with to_hex.
I''ve installed the gem, and when I try and run the test program I get
this error:
>> red = Color.new(''ff0000'')
=> #<Color:0x3685990 @saturation=1.0, @hue=0.0, @lightness=0.5>
>> yellow = Color.new(''ffff00'')
=> #<Color:0x367e5a0 @saturation=1.0, @hue=0.166666666666667,
@lightness=0.5>
>> orange = red.mix_with yellow, 0.5
=> #<Color:0x3675c34 @saturation=0.503875968992248,
@hue=0.0820512820512821, @lightness=0.252941176470588>
>> orange.to_hex
NoMethodError: You...