Custom Color Names / Variables

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • randy.buchholz

    Custom Color Names / Variables

    While more experienced users can pretty much tell a color from its hex, new
    users can't. Named colors do help with consistancy and new developers. Is
    it possible to create custom named color lists (or other variables) at
    design time?


  • David Wier

    #2
    Re: Custom Color Names / Variables

    Take a look at this code sample at ASPNet101.com and see if it gives you any
    ideas toward what you need:


    David Wier

    http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
    bloated markup
    http://cg.AugustWind.com - ControlGrouper - new ASP.Net control

    "randy.buchholz " <randy.buchholz @dads.state.tx. uswrote in message
    news:u$dJCtu$IH A.4864@TK2MSFTN GP03.phx.gbl...
    While more experienced users can pretty much tell a color from its hex,
    new users can't. Named colors do help with consistancy and new
    developers. Is it possible to create custom named color lists (or other
    variables) at design time?
    >

    Comment

    • George

      #3
      Re: Custom Color Names / Variables

      "randy.buchholz " <randy.buchholz @dads.state.tx. uswrote in message
      news:u$dJCtu$IH A.4864@TK2MSFTN GP03.phx.gbl...
      While more experienced users can pretty much tell a color from its hex,
      new users can't. Named colors do help with consistancy and new
      developers. Is it possible to create custom named color lists (or other
      variables) at design time?
      >

      Sure, you can...
      You can even take it much further... define not only color but font size,
      borders, background...

      And all this called CSS....

      George.

      Comment

      • randy.buchholz

        #4
        Re: Custom Color Names / Variables

        I'm looking for true variables or things like enumerations. Not in the code
        behind, but in the aspx.

        "George" <noemail@comcas t.netwrote in message
        news:OOKFrcCAJH A.1016@TK2MSFTN GP03.phx.gbl...
        "randy.buchholz " <randy.buchholz @dads.state.tx. uswrote in message
        news:u$dJCtu$IH A.4864@TK2MSFTN GP03.phx.gbl...
        >While more experienced users can pretty much tell a color from its hex,
        >new users can't. Named colors do help with consistancy and new
        >developers. Is it possible to create custom named color lists (or other
        >variables) at design time?
        >>
        >
        >
        Sure, you can...
        You can even take it much further... define not only color but font size,
        borders, background...
        >
        And all this called CSS....
        >
        George.

        Comment

        • randy.buchholz

          #5
          Re: Custom Color Names / Variables

          The problem with CSS is if you apply CSS at the control level and you have
          CSS on a theme you lose the theme CSS.

          "George" <noemail@comcas t.netwrote in message
          news:OOKFrcCAJH A.1016@TK2MSFTN GP03.phx.gbl...
          "randy.buchholz " <randy.buchholz @dads.state.tx. uswrote in message
          news:u$dJCtu$IH A.4864@TK2MSFTN GP03.phx.gbl...
          >While more experienced users can pretty much tell a color from its hex,
          >new users can't. Named colors do help with consistancy and new
          >developers. Is it possible to create custom named color lists (or other
          >variables) at design time?
          >>
          >
          >
          Sure, you can...
          You can even take it much further... define not only color but font size,
          borders, background...
          >
          And all this called CSS....
          >
          George.

          Comment

          • randy.buchholz

            #6
            Re: Custom Color Names / Variables

            Thanks, but I have an enterprise wide set of custom colors that are not on
            the standard list.

            I would like to create a pallete of custom named colors to shate across the
            enterprise. CSS is not an option.

            "David Wier" <dw@dw.comwro te in message
            news:eAi6vkx$IH A.1180@TK2MSFTN GP04.phx.gbl...
            Take a look at this code sample at ASPNet101.com and see if it gives you
            any ideas toward what you need:

            >
            David Wier

            http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with
            no bloated markup
            http://cg.AugustWind.com - ControlGrouper - new ASP.Net control
            >
            "randy.buchholz " <randy.buchholz @dads.state.tx. uswrote in message
            news:u$dJCtu$IH A.4864@TK2MSFTN GP03.phx.gbl...
            >While more experienced users can pretty much tell a color from its hex,
            >new users can't. Named colors do help with consistancy and new
            >developers. Is it possible to create custom named color lists (or other
            >variables) at design time?
            >>
            >
            >

            Comment

            Working...