Ask a Question related to ASP.NET General, Design and Development.
-
Lloyd Dupont #1
Color => string ?
I'm designing a web user control
it has a color property and I want to output in the HTML something like:
bgcolor=#FFDEAD
for this in the C# code I write(HtmlTextWriter output)
output.Write(" bgcolor={0}", BackColor);
but this doesn't work at all, my output is
bgcolor=Color [A=255, R=231, G=253, B=100]
how could I format the color value ?
I could build myself a number like that #123456 but the the default behavior
is nice, output a color name when it's a unique color, etc ....
how could I do that ?
please....
Lloyd Dupont Guest
-
Color PDFs Print as Black & White (grayscale) color inkjets In AcroPro 6 Mac
I am trying to print color pdf's created from a variety of sources (Quark, InDesign, Word, etc...) to my Canon inkjets (i9100 and i450) from Acrobat... -
- Rendering a multi-color logo outline to a single spot color (of different shades)
I have a question similar to the original poster, but with a twist. I have a logo in an AI file. All outlines. It has multiple colors (stroke and... -
PDF::Create String font color
How do you change the color of the font for a string, in something like: $page->string($font1, 12, 15, 584, "Test String."); I would like... -
Converting a color negative .jpg to a color positive image .jpg in Photoshop Elements 2.0
My scanner will convert color photo negatives to a positive image which I can then adjust using Photoshop Elements. However, it is much faster to... -
Problem: All of my blues show up as a teal/blue/gray color on the color picker.
Problem: All of my blues show up as a teal/blue/gray color on the color picker. Im running the web graphics defaults and have tried uninstalling... -
Andrew de la Harpe #2
Re: Color => string ?
checkout the WebColorConverter class.
"Lloyd Dupont" <lloyd@RemoveIfNotSpamming.galador.net> wrote in message
news:uNuIMuiXDHA.1580@tk2msftngp13.phx.gbl...behavior> I'm designing a web user control
> it has a color property and I want to output in the HTML something like:
>
> bgcolor=#FFDEAD
>
> for this in the C# code I write(HtmlTextWriter output)
>
> output.Write(" bgcolor={0}", BackColor);
>
> but this doesn't work at all, my output is
> bgcolor=Color [A=255, R=231, G=253, B=100]
>
> how could I format the color value ?
> I could build myself a number like that #123456 but the the default> is nice, output a color name when it's a unique color, etc ....
> how could I do that ?
>
> please....
>
>
Andrew de la Harpe Guest
-
Lloyd Dupont #3
Re: Color => string ?
merveilleux dirais-je meme !
"Andrew de la Harpe" <andrew_dela@hotmail.com> a écrit dans le message de
news:%23tn6o9iXDHA.1640@TK2MSFTNGP10.phx.gbl...> checkout the WebColorConverter class.
>
>
> "Lloyd Dupont" <lloyd@RemoveIfNotSpamming.galador.net> wrote in message
> news:uNuIMuiXDHA.1580@tk2msftngp13.phx.gbl...> behavior> > I'm designing a web user control
> > it has a color property and I want to output in the HTML something like:
> >
> > bgcolor=#FFDEAD
> >
> > for this in the C# code I write(HtmlTextWriter output)
> >
> > output.Write(" bgcolor={0}", BackColor);
> >
> > but this doesn't work at all, my output is
> > bgcolor=Color [A=255, R=231, G=253, B=100]
> >
> > how could I format the color value ?
> > I could build myself a number like that #123456 but the the default>> > is nice, output a color name when it's a unique color, etc ....
> > how could I do that ?
> >
> > please....
> >
> >
>
Lloyd Dupont Guest



Reply With Quote

