Answers.Body: <p>At the moment there is no better solution for this. You could write a plugin that defines a new fieldtype.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-10-16T12:59:54.510Z
Answers.Text: There are now a couple of plugins - Spectrum mentioned below, and [Hue](https://github.com/TopShelfCraft/Hue)
Answers.UserDisplayName: Marion Newlevant
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-19T16:48:31.900Z
Answers.LastActivityDate: 2015-08-19T16:48:31.900Z
Answers.UserDisplayName: Marion Newlevant
Answers.Body: <p>I just put together a fieldtype using the jQuery colour picker <a href="https://bgrins.github.io/spectrum/" rel="nofollow noreferrer">Spectrum</a></p>
  
  <p><a href="https://i.sstatic.net/cJCzU.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/cJCzU.jpg" alt="enter image description here"></a></p>
  
  <p>It supports selecting no color and outputs a HEX of the colour, if chosen :)</p>
  
  <p><a href="https://github.com/alecritson/craft-spectrum-fieldtype" rel="nofollow noreferrer">Get the fieldtype on Github</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-20T11:04:11.453Z
Answers.LastActivityDate: 2015-08-20T11:25:33.893Z
Answers.LastEditDate: 2015-08-20T11:25:33.893Z
Answers.UserDisplayName: Alec Ritson
Body: <p>I want let the editor to choose an optional color via the color picker, but this didn't have the option 'no color' (or transparent).</p>
  
  <p>Is there a solution to this? I use it a lot and have always to add a boolean switch so the editor can switch it on and off, but that's not the best way to do this.</p>
  
Tags: <matrix><fieldtypes>
Title: Color Picker with "no color" option?
ThreadText: # Color Picker with "no color" option?
  
  (Asked by: username_0 on 2015-08-19)
  
  I want let the editor to choose an optional color via the color picker, but this didn't have the option 'no color' (or transparent).
  
  Is there a solution to this? I use it a lot and have always to add a boolean switch so the editor can switch it on and off, but that's not the best way to do this.
  
  **Tags:** matrix, fieldtypes
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2015-08-19. Score: 2
  
  At the moment there is no better solution for this. You could write a plugin that defines a new fieldtype.
  
  > **Comments:**
  > **username_1**: There are now a couple of plugins - Spectrum mentioned below, and [Hue](https://github.com/TopShelfCraft/Hue)  
  
  ---
  
  ### Answer by username_2 on 2015-08-20. Score: 0
  
  I just put together a fieldtype using the jQuery colour picker [Spectrum](https://bgrins.github.io/spectrum/)
  
  [![enter image description here](https://i.sstatic.net/cJCzU.jpg)](https://i.sstatic.net/cJCzU.jpg)
  
  It supports selecting no color and outputs a HEX of the colour, if chosen :)
  
  [Get the fieldtype on Github](https://github.com/username_2/craft-spectrum-fieldtype)
  
  
  ---
  
  