Code Monkey home page Code Monkey logo

Comments (3)

vpapenko avatar vpapenko commented on June 24, 2024 1

Good idea.
I published a new version with the latest Xamarin Forms and gray as default color.
Thank you for your feedback.

from colorpicker.

vpapenko avatar vpapenko commented on June 24, 2024

Hi.
You set black as initial color and use only color circle.
Color circle affects Hue and Saturation, but with Luminosity = 0 (from initial black color) you always end up with black color.
If you want to get a saturated color, as you can see in the color circle, you need Luminosity = 0.5.
May be gray initial color is what you need?
If I understand your problem correctly.
P.S. I will update Nuget dependencies and publish new version.

from colorpicker.

Sennevds avatar Sennevds commented on June 24, 2024

Okay that seems the problem indeed but maybe you need to change the default value for SelectedColorProperty because if someone will use only your colorpicker and no sliders it wont work

public static readonly BindableProperty SelectedColorProperty = BindableProperty.Create(
           nameof(SelectedColor),
           typeof(Color),
           typeof(IColorPicker),
           Color.Black,
           propertyChanged: new BindableProperty.BindingPropertyChangedDelegate(HandleSelectedColorSet), defaultBindingMode: BindingMode.TwoWay);

And thanks for the control it works really nice!

from colorpicker.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.