Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sebastian Dammark 583 posts 1407 karma points
    Jan 28, 2014 @ 12:45
    Sebastian Dammark
    0

    RGBA

    Would it be possible to add an alpha slider ranging from 0.0 to 1.0 ?

    If 0.0 then RGB otherwise RGBA ?

  • Robert Foster 459 posts 1820 karma points MVP 3x admin c-trib
    Jan 28, 2014 @ 13:09
    Robert Foster
    0

    Yep, sure would.  You just need to update the controller file in

    \App_Plugins\SpectrumColorPicker\SpectrumColorPicker.controller.js

    according to the Spectrum options (http://bgrins.github.io/spectrum/#options-showAlpha)

    I actually want to add a few prevalue options to set this and other things up at some stage. 

  • Joey Kincer 51 posts 83 karma points
    Oct 27, 2016 @ 05:19
    Joey Kincer
    0

    The Spectrum Color Picker works great in Umbraco 7.5.x. Thank you for providing such a valuable tool. It's a great start for what I need.

    Expanding on Sebastian's suggestion, perhaps it would be possible to set the choice of using Hex, RGB, HSL, etc. in the "Configuration" area of the Editor Settings (7.x only). There are certain properties I'm using that need Hex values, and some that need RGBA values, so it would be great to be able to choose a format when cloning the Spectrum Color Picker editor for individual properties, without having to directly mess with the javascript file.

    I'm not sure if you're actively maintaining this extension anymore... hopefully there's a solution for what I'm trying to achieve.

Please Sign in or register to post replies

Write your reply to:

Draft