Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8676847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T20:18:11+00:00 2026-06-12T20:18:11+00:00

Update : The original phrasing of this question was vague so i’ve modified it

  • 0

Update: The original phrasing of this question was vague so i’ve modified it to better express what i’m asking.

Lets say I have two divs

<div class='button'>A</div>
<div class='button green-button'>A</div>

with the following styles:

div.button {
  /* define position,  size, etc ...*/
  color:#FBB
  background-color:#F00
}

div.button.green-button{
  color:#BFB
  background-color:#0F0
}

enter image description hereenter image description here

In this example it was easy to shift the hue of the first button from red to green by simply changing shifting the values of color and background-color by 1 digit. If I wanted to make a blue button I could do the same shift again for a 3rd button.

However, in the case where I don’t want to shift completely from one color to the next its a bit trickier.

Additionally I want to color shift everything in the div, not just the background-color and color properties. So if I were to place and image in the div the colors of the image would get shifted as well.

Is this possible in CSS? If not can you do it in Javascript?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T20:18:12+00:00Added an answer on June 12, 2026 at 8:18 pm

    Since everyone is posting wild guesses, I’ll jump right into it.

    You could achieve something using CSS filters (in your case hue-rotate)

    Or the same using a CSS preprocessor like LESS.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

UPDATE: This question is out of date, but left for informational purposes. Original Question
Update: My original intention for this question was to determine if PHP actually has
Update is below code chunks. Original Question: I have an input field that is
UPDATE: I should have mentioned in the original post that I want to learn
Update 7/17 SOLVED I've updated my code to the Solved version. Original Question I'm
UPDATE : My original question wasn't quite clear. I'm looking for the name of
This is a multi-part question. I have a table similar to: CREATE TABLE sales_data
UPDATE : My original question was invalid because I was misreading the MySql logs.
The original query was: UPDATE `test`.`documents` SET `title` = ‘测试中文’, `content` = ‘this is
ORIGINAL (see UPDATED QUESTION below) I am designing a new laboratory database that tests

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.