Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unity 5 Hex color input field please!

Discussion in 'Editor & General Support' started by shaderbytes, Oct 29, 2014.

  1. shaderbytes

    shaderbytes

    Joined:
    Nov 11, 2010
    Posts:
    900
    It actually baffles me how you dont have a means to input a hexdecimal string value in the color object picker window? this feature would be a god send. Having to set r,g and b individually in 0-255 values is not very user friendly at all? or is it only me and everyone else loves it this way LOL

    Joking aside please consider this request , its just a few lines of code on your end and its all sorted ;)
     
    shkar-noori likes this.
  2. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    What benefit is there having a hex field outside of web development in modern games? Just curious.
     
  3. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,398
    Yep, just you. ;) It's extremely common to use 0-255 (people are always trying to use that for Color values, which are 0.0-1.0).

    --Eric
     
    shkar-noori likes this.
  4. shaderbytes

    shaderbytes

    Joined:
    Nov 11, 2010
    Posts:
    900
    @Eric5h5 haha yes they are all just numbers which can be converted .. but..
    +
    @Hippo.coder - they main issue is copy and paste 3 times vs copy and paste just once - from a productivity point of view you cant beat that argument. Just expose both means to input the value ( dont laugh I have serious short term memory issues ) ,I mean its not like its going to bloat the software.

    Gimp and Blender have both inputs available, So I might not be so alone in thinking its a great idea to expose both means of input as you both suggest ;)
     
    Last edited: Oct 29, 2014
    samochreno likes this.